You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2020/03/25 02:50:24 UTC

[impala] branch master updated: IMPALA-9546: Update ranger-admin-site.xml.template after RANGER-2688

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

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git


The following commit(s) were added to refs/heads/master by this push:
     new b8d6b0d  IMPALA-9546: Update ranger-admin-site.xml.template after RANGER-2688
b8d6b0d is described below

commit b8d6b0dade27ad7978f8f2c2f21c3dd42c06e1ed
Author: Fang-Yu Rao <fa...@cloudera.com>
AuthorDate: Thu Mar 5 21:04:01 2020 -0800

    IMPALA-9546: Update ranger-admin-site.xml.template after RANGER-2688
    
    This patch bumps up CDP_BUILD_NUMBER to 2244454 which contains a change
    introduced by RANGER-2688. Due to this change, we added to
    ranger-admin-site.xml.template a cookie-related configuration so that
    the Ranger server could be properly started.
    
    Testing:
    Verified that the data loading passes and that all the Ranger-related FE
    and E2E tests are successful
    - when $USE_CDP_HIVE is false, and
    - when $USE_CDP_HIVE is true.
    
    Change-Id: I7750f73834368c7109965e78b147238fc6316f49
    Reviewed-on: http://gerrit.cloudera.org:8080/15533
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 bin/impala-config.sh                                   | 16 ++++++++--------
 testdata/cluster/ranger/ranger-admin-site.xml.template |  6 +++++-
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/bin/impala-config.sh b/bin/impala-config.sh
index a291391..ceaf864 100755
--- a/bin/impala-config.sh
+++ b/bin/impala-config.sh
@@ -174,16 +174,16 @@ export CDH_HBASE_VERSION=2.1.0-cdh6.x-SNAPSHOT
 export CDH_HIVE_VERSION=2.1.1-cdh6.x-SNAPSHOT
 export CDH_SENTRY_VERSION=2.1.0-cdh6.x-SNAPSHOT
 
-export CDP_BUILD_NUMBER=1617729
+export CDP_BUILD_NUMBER=2244454
 export CDP_MAVEN_REPOSITORY=\
 "https://${IMPALA_TOOLCHAIN_HOST}/build/cdp_components/${CDP_BUILD_NUMBER}/maven"
-export CDP_HADOOP_VERSION=3.1.1.7.0.2.0-212
-export CDP_HBASE_VERSION=2.2.0.7.0.2.0-212
-export CDP_HIVE_VERSION=3.1.2000.7.0.2.0-212
-export CDP_RANGER_VERSION=2.0.0.7.0.2.0-212
-export CDP_TEZ_VERSION=0.9.1.7.0.2.0-212
-export CDP_KNOX_VERSION=1.3.0.7.0.2.0-212
-export CDP_OZONE_VERSION=0.4.0.7.0.2.0-212
+export CDP_HADOOP_VERSION=3.1.1.7.1.1.0-284
+export CDP_HBASE_VERSION=2.2.3.7.1.1.0-284
+export CDP_HIVE_VERSION=3.1.3000.7.1.1.0-284
+export CDP_RANGER_VERSION=2.0.0.7.1.1.0-284
+export CDP_TEZ_VERSION=0.9.1.7.1.1.0-284
+export CDP_KNOX_VERSION=1.3.0.7.1.1.0-284
+export CDP_OZONE_VERSION=0.4.0.7.1.1.0-284
 
 export IMPALA_PARQUET_VERSION=1.10.99-cdh6.x-SNAPSHOT
 export IMPALA_AVRO_JAVA_VERSION=1.8.2-cdh6.x-SNAPSHOT
diff --git a/testdata/cluster/ranger/ranger-admin-site.xml.template b/testdata/cluster/ranger/ranger-admin-site.xml.template
index a4b557b..4edbad0 100644
--- a/testdata/cluster/ranger/ranger-admin-site.xml.template
+++ b/testdata/cluster/ranger/ranger-admin-site.xml.template
@@ -294,4 +294,8 @@
     <name>ranger.tomcat.ciphers</name>
     <value/>
   </property>
-</configuration>
\ No newline at end of file
+  <property>
+    <name>ranger.admin.cookie.name</name>
+    <value>RANGERADMINSESSIONID</value>
+  </property>
+</configuration>