> On Feb. 28, 2014, 12:59 a.m., Vaibhav Gumashta wrote: > > service/src/java/org/apache/hive/service/auth/KerberosSaslHelper.java, line > > 68 > > <https://reviews.apache.org/r/18464/diff/1/?file=503361#file503361line68> > > > > Can you push this to > > HadoopThriftAuthBridge.Client#createClientTransport just like the way the > > else portion does instead of the createSubjectAssumedTransport method? From > > within the method you can return the TSubjectAssumingTransport. > > Shivaraju Gowda wrote: > Again this was in my first cut. I was passing the value as "tokenStrForm" > parameter to keep the method signature same. I later moved away from it since > it was not elegant and changing the method signature involved broader > implications. I felt this functionality didn't belong in Hadoop shim layer. > Having the change in there also meant one more jar getting > affected(hive-exec.jar) >
Another issue was the dependency on hadoop.core.jar. The calls AuthMethod.valueOf(AuthMethod.class, methodStr) and SaslRpcServer.splitKerberosName(serverPrincipal) in HadoopThriftAuthBridge.Client#createClientTransport are from hadoop.core.jar - Shivaraju ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/18464/#review35730 ----------------------------------------------------------- On Feb. 25, 2014, 2:50 p.m., Kevin Minder wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/18464/ > ----------------------------------------------------------- > > (Updated Feb. 25, 2014, 2:50 p.m.) > > > Review request for hive, Kevin Minder and Vaibhav Gumashta. > > > Bugs: HIVE-6486 > https://issues.apache.org/jira/browse/HIVE-6486 > > > Repository: hive-git > > > Description > ------- > > Support secure Subject.doAs() in HiveServer2 JDBC client > > > Diffs > ----- > > jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java 17b4d39 > service/src/java/org/apache/hive/service/auth/KerberosSaslHelper.java > 379dafb > > service/src/java/org/apache/hive/service/auth/TSubjectAssumingTransport.java > PRE-CREATION > > Diff: https://reviews.apache.org/r/18464/diff/ > > > Testing > ------- > > Manual testing > > > Thanks, > > Kevin Minder > >