You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/12/30 12:07:19 UTC

[doris] branch branch-1.2-lts updated: [Enhancement](hdfs) make libhdfs3 compatible with hdfs2 server (#15497)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new 5d7bf83403 [Enhancement](hdfs) make libhdfs3 compatible with hdfs2 server (#15497)
5d7bf83403 is described below

commit 5d7bf834032047ed76e47ccf6ae5c28346de8883
Author: dujl <du...@bytedance.com>
AuthorDate: Fri Dec 30 15:36:39 2022 +0800

    [Enhancement](hdfs) make libhdfs3 compatible with hdfs2 server (#15497)
    
    When doris be getFileStatus from HDFS2 server, libhdfs3 will throw exception because of the permission code returned by hdfs2 server is greater than 1<<12.
    The bit 12 of permission code is aclBit which has been deprecated in hadoop3. so we remove the check code in libhdfs3, same as hadoop3 java project.
---
 thirdparty/CHANGELOG.md | 3 +++
 thirdparty/vars.sh      | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/thirdparty/CHANGELOG.md b/thirdparty/CHANGELOG.md
index 13f273ecfb..3850252282 100644
--- a/thirdparty/CHANGELOG.md
+++ b/thirdparty/CHANGELOG.md
@@ -2,6 +2,9 @@
 
 This file contains version of the third-party dependency libraries in the build-env image. The docker build-env image is apache/doris, and the tag is `build-env-${version}`
 
+## v20221230
+- Modified: libhdfs 2.3.2 -> 2.3.4
+
 ## v20221228
 - Modified: simdjson 1.0.2 -> 3.0.1
 
diff --git a/thirdparty/vars.sh b/thirdparty/vars.sh
index 0849a83528..dc59be7788 100644
--- a/thirdparty/vars.sh
+++ b/thirdparty/vars.sh
@@ -357,10 +357,10 @@ KRB5_SOURCE="krb5-1.19"
 KRB5_MD5SUM="aaf18447a5a014aa3b7e81814923f4c9"
 
 # hdfs3
-HDFS3_DOWNLOAD="https://github.com/apache/doris-thirdparty/archive/refs/tags/libhdfs3-v2.3.2.tar.gz"
-HDFS3_NAME="doris-thirdparty-libhdfs3-v2.3.2.tar.gz"
-HDFS3_SOURCE="doris-thirdparty-libhdfs3-v2.3.2"
-HDFS3_MD5SUM="5087ffec0fda4fbcd60a53ed92eb4d2d"
+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"
 
 #libdivide
 LIBDIVIDE_DOWNLOAD="https://github.com/ridiculousfish/libdivide/archive/5.0.tar.gz"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org