This is an automated email from the ASF dual-hosted git repository.
hahao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 70bbf01 Normalize sentry package name
70bbf01 is described below
commit 70bbf01cec2d6a14f1b2c850f04d9298933bc518
Author: Hao Hao <[email protected]>
AuthorDate: Tue Apr 30 13:17:39 2019 -0700
Normalize sentry package name
This strips the 'apache' prefix and 'bin' suffix from the thirdparty
tarball package, which brings it inline with the hadoop package naming.
Change-Id: Ic17375e2bb1a2b0993224ebeaaabee2df8bb259f
Reviewed-on: http://gerrit.cloudera.org:8080/13203
Reviewed-by: Adar Dembo <[email protected]>
Tested-by: Hao Hao <[email protected]>
Reviewed-by: Andrew Wong <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
---
build-support/run_dist_test.py | 2 +-
thirdparty/vars.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/build-support/run_dist_test.py b/build-support/run_dist_test.py
index 7982f30..a3a4138 100755
--- a/build-support/run_dist_test.py
+++ b/build-support/run_dist_test.py
@@ -150,7 +150,7 @@ def main():
# are used in mini_hms.cc and mini_sentry.cc.
env['HIVE_HOME'] = glob.glob(os.path.join(ROOT, "thirdparty/src/hive-*"))[0]
env['HADOOP_HOME'] = glob.glob(os.path.join(ROOT,
"thirdparty/src/hadoop-*"))[0]
- env['SENTRY_HOME'] = glob.glob(os.path.join(ROOT,
"thirdparty/src/apache-sentry-*"))[0]
+ env['SENTRY_HOME'] = glob.glob(os.path.join(ROOT,
"thirdparty/src/sentry-*"))[0]
env['JAVA_HOME'] = glob.glob("/usr/lib/jvm/java-1.8.0-*")[0]
env['LD_LIBRARY_PATH'] = ":".join(
diff --git a/thirdparty/vars.sh b/thirdparty/vars.sh
index ba0b700..01eea40 100644
--- a/thirdparty/vars.sh
+++ b/thirdparty/vars.sh
@@ -232,5 +232,5 @@ HADOOP_SOURCE=$TP_SOURCE_DIR/$HADOOP_NAME
# maven profile. For example, `mvn clean install -Pdist`. After a successful
build,
# the tarball will be available under sentry-dist/target.
SENTRY_VERSION=505b42e81a9d85c4ebe8db3f48ad7a6e824a5db5
-SENTRY_NAME=apache-sentry-$SENTRY_VERSION-bin
+SENTRY_NAME=sentry-$SENTRY_VERSION
SENTRY_SOURCE=$TP_SOURCE_DIR/$SENTRY_NAME