[deps](hdfs) update libhdfs3 to v2.3.5 to support KMS (#15770)

Support KMS in libhdfs3: apache/doris-thirdparty#22
This commit is contained in:
Ashin Gau
2023-01-10 23:21:53 +08:00
committed by GitHub
parent ab2e0fd397
commit 4be54cfcac
3 changed files with 14 additions and 4 deletions

View File

@ -151,6 +151,11 @@ CREATE CATALOG hive PROPERTIES (
);
```
If you want to connect to Hadoop with KMS authentication, you should add the follow configuration into properties:
```
'dfs.encryption.key.provider.uri' = 'kms://http@kms_host:kms_port/kms'
```
Once created, you can view the catalog with the `SHOW CATALOGS` command:
```

View File

@ -151,6 +151,11 @@ CREATE CATALOG hive PROPERTIES (
);
```
如果需要 hadoop KMS 认证,可以在properties中添加:
```
'dfs.encryption.key.provider.uri' = 'kms://http@kms_host:kms_port/kms'
```
创建后,可以通过 `SHOW CATALOGS` 命令查看 catalog:
```

8
thirdparty/vars.sh vendored
View File

@ -363,10 +363,10 @@ KRB5_SOURCE="krb5-1.19"
KRB5_MD5SUM="aaf18447a5a014aa3b7e81814923f4c9"
# hdfs3
HDFS3_DOWNLOAD="https://github.com/apache/doris-thirdparty/archive/refs/tags/libhdfs3-v2.3.4.tar.gz"
HDFS3_NAME="doris-thirdparty-libhdfs3-v2.3.4.tar.gz"
HDFS3_SOURCE="doris-thirdparty-libhdfs3-v2.3.4"
HDFS3_MD5SUM="5da1d32ec83b3732ccbe26346a7f5f9a"
HDFS3_DOWNLOAD="https://github.com/apache/doris-thirdparty/archive/refs/tags/libhdfs3-v2.3.5.tar.gz"
HDFS3_NAME="doris-thirdparty-libhdfs3-v2.3.5.tar.gz"
HDFS3_SOURCE="doris-thirdparty-libhdfs3-v2.3.5"
HDFS3_MD5SUM="8da623120add76f5595e5978b123e157"
#libdivide
LIBDIVIDE_DOWNLOAD="https://github.com/ridiculousfish/libdivide/archive/5.0.tar.gz"