----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46579/#review133466 -----------------------------------------------------------
llap-client/src/java/org/apache/hadoop/hive/llap/security/LlapTokenLocalClient.java (line 32) <https://reviews.apache.org/r/46579/#comment197906> Nit: Final llap-common/src/java/org/apache/hadoop/hive/llap/DaemonId.java (line 24) <https://reviews.apache.org/r/46579/#comment197907> Can appId be removed from the parameter list. Doesn't look like it's used anywhere. llap-common/src/java/org/apache/hadoop/hive/llap/LlapUtil.java (line 57) <https://reviews.apache.org/r/46579/#comment197914> Not used anywhere ? Also, this ends up being very flaky - with the "org-apache-slider" string hardcoded there. Referencing the actual slider constant would be better. Removing the unused code would be better though. llap-common/src/java/org/apache/hadoop/hive/llap/LlapUtil.java (line 61) <https://reviews.apache.org/r/46579/#comment197909> Can this refer to a hardcoded string in the slider code base - very prone to breaking otherwise. ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java (line 347) <https://reviews.apache.org/r/46579/#comment197913> Is this supposed to be creating the LocalClient each time (whcih creates the secret manager), or is the intent to eventually share the SecretManager ? Similarly for the next line - create an instance of the factory each time, create client and then the token. The code explicitly mentions a new client being created for thread safety. Doesn't really matter if a new factory is created each time. Looks like not sharing the SecretManager could be expensive given the KDC login each time ? - Siddharth Seth On May 5, 2016, 9:55 p.m., Sergey Shelukhin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46579/ > ----------------------------------------------------------- > > (Updated May 5, 2016, 9:55 p.m.) > > > Review request for hive, Gunther Hagleitner, Siddharth Seth, and Vikram Dixit > Kumaraswamy. > > > Repository: hive-git > > > Description > ------- > > see JIRA > > > Diffs > ----- > > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java bb74d99 > llap-client/pom.xml 50c06a4 > llap-client/src/java/org/apache/hadoop/hive/llap/io/api/LlapProxy.java > 424769f > > llap-client/src/java/org/apache/hadoop/hive/llap/security/LlapTokenClientFactory.java > PRE-CREATION > > llap-client/src/java/org/apache/hadoop/hive/llap/security/LlapTokenLocalClient.java > PRE-CREATION > llap-common/src/java/org/apache/hadoop/hive/llap/DaemonId.java 18355e6 > llap-common/src/java/org/apache/hadoop/hive/llap/LlapUtil.java ce03de0 > > llap-common/src/java/org/apache/hadoop/hive/llap/impl/LlapManagementProtocolClientImpl.java > cd11bdb > > llap-common/src/java/org/apache/hadoop/hive/llap/security/LlapTokenProvider.java > edf9b18 > > llap-common/src/java/org/apache/hadoop/hive/llap/security/SecretManager.java > PRE-CREATION > > llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/LlapDaemon.java > e662de9 > > llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/LlapProtocolServerImpl.java > db8bfa6 > > llap-server/src/java/org/apache/hadoop/hive/llap/security/LlapSecurityHelper.java > f958bc4 > > llap-server/src/java/org/apache/hadoop/hive/llap/security/SecretManager.java > c54e726 > ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java fd6465a > > Diff: https://reviews.apache.org/r/46579/diff/ > > > Testing > ------- > > > Thanks, > > Sergey Shelukhin > >