----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19539/ -----------------------------------------------------------
Review request for hive and Xuefu Zhang. Bugs: HIVE-6715 https://issues.apache.org/jira/browse/HIVE-6715 Repository: hive-git Description ------- In SASL auth cases (Kerberos and Plain), the username is read from the underlying SASL layer. For non-sasl case, the server doesn't get the user name. The fix is to the username as part of openSession request for non-sasl case. Diffs ----- itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestNoSaslAuth.java PRE-CREATION jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java 47a1061 Diff: https://reviews.apache.org/r/19539/diff/ Testing ------- Added a new test to verify the username. Thanks, Prasad Mujumdar