You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Prasad Mujumdar <pr...@cloudera.com> on 2014/03/21 20:06:07 UTC
Review Request 19539: HIVE-6715: Hive JDBC should include username into open
session request for non-sasl connection
-----------------------------------------------------------
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