----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27216/#review58841 -----------------------------------------------------------
common/src/java/org/apache/hadoop/hive/conf/HiveConf.java <https://reviews.apache.org/r/27216/#comment99999> Should we mention our preference for using hive.zookeeper.quorum? common/src/java/org/apache/hadoop/hive/conf/HiveConf.java <https://reviews.apache.org/r/27216/#comment99995> Was the original config a comma separated list of ACLs or a list of servers? This description (original version) looks confusing... service/src/java/org/apache/hive/service/server/HiveServer2.java <https://reviews.apache.org/r/27216/#comment100054> Minor nit: I just noticed that setZookeeperClientJaasConfig is setting the JAAS config specific to Kerberos authentication. Currently ZK SASL implementation seems to support only Kerberos login module, but it seems likely that this will get expanded to support other SASL auth modules. In that case if we decide to use it to set up ACLs, we might want to indicate that this method specifically sets up Kerberos JAAS Config. shims/common-secure/src/main/java/org/apache/hadoop/hive/shims/HadoopShimsSecure.java <https://reviews.apache.org/r/27216/#comment100002> Unintentional change? shims/common-secure/src/main/java/org/apache/hadoop/hive/thrift/ZooKeeperTokenStore.java <https://reviews.apache.org/r/27216/#comment100070> I'm just wondering if after opening the client connection (which will do the authentication), we should restore the original JAAS config in the runtime. Just wondering if we can get into an inconsistent state with multiple JAAS logins happening. shims/common-secure/src/main/java/org/apache/hadoop/hive/thrift/ZooKeeperTokenStore.java <https://reviews.apache.org/r/27216/#comment100010> The doc needs to use TokenStoreException. shims/common-secure/src/main/java/org/apache/hadoop/hive/thrift/ZooKeeperTokenStore.java <https://reviews.apache.org/r/27216/#comment100016> Nit: it will be good to have a self documenting variable name instead of csv. - Vaibhav Gumashta On Oct. 28, 2014, 6:35 a.m., Thejas Nair wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/27216/ > ----------------------------------------------------------- > > (Updated Oct. 28, 2014, 6:35 a.m.) > > > Review request for hive, Eugene Koifman and Vaibhav Gumashta. > > > Bugs: HIVE-8557 > https://issues.apache.org/jira/browse/HIVE-8557 > > > Repository: hive-git > > > Description > ------- > > https://issues.apache.org/jira/browse/HIVE-8557 > > > Diffs > ----- > > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 7d8e5bc > hcatalog/webhcat/svr/pom.xml 6065748 > > itests/hive-unit-hadoop2/src/test/java/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java > b81942a > > itests/hive-unit/src/test/java/org/apache/hadoop/hive/thrift/TestDBTokenStore.java > 8860d30 > > itests/hive-unit/src/test/java/org/apache/hadoop/hive/thrift/TestZooKeeperTokenStore.java > 83a80b4 > metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java > 3cf43a9 > pom.xml c694980 > ql/src/java/org/apache/hadoop/hive/ql/util/ZooKeeperHiveHelper.java 11dd962 > service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java ab34d2d > service/src/java/org/apache/hive/service/server/HiveServer2.java 0aab3f9 > shims/0.20/src/main/java/org/apache/hadoop/hive/shims/Hadoop20Shims.java > d18ae44 > shims/common-secure/pom.xml 98b5ca1 > > shims/common-secure/src/main/java/org/apache/hadoop/hive/shims/HadoopShimsSecure.java > 606f973 > > shims/common-secure/src/main/java/org/apache/hadoop/hive/thrift/DBTokenStore.java > 0bb2763 > > shims/common-secure/src/main/java/org/apache/hadoop/hive/thrift/DelegationTokenStore.java > f3c2e48 > > shims/common-secure/src/main/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge20S.java > 56735d8 > > shims/common-secure/src/main/java/org/apache/hadoop/hive/thrift/MemoryTokenStore.java > 9908aa4 > > shims/common-secure/src/main/java/org/apache/hadoop/hive/thrift/TokenStoreDelegationTokenSecretManager.java > 4ccf895 > > shims/common-secure/src/main/java/org/apache/hadoop/hive/thrift/ZooKeeperTokenStore.java > 8683496 > shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShims.java > 9850405 > > shims/common/src/main/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java > d0d6c7b > > Diff: https://reviews.apache.org/r/27216/diff/ > > > Testing > ------- > > Existing tests excercised, manually tested in a cluster. > > > Thanks, > > Thejas Nair > >