-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17527/
-----------------------------------------------------------

Review request for hive.


Bugs: HIVE-6334
    https://issues.apache.org/jira/browse/HIVE-6334


Repository: hive-git


Description
-------

When sql standard authorization is used with hive server2 (HS2), will be 
configured to run as a particular user, but the authorization checks should 
happen on behalf of the user who submits the query.
It should be possible for HS2 to set the username for the session through 
SessionState. Followup jira will have changes to set user in SessionState from 
HiveSessionImpl.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java d7edda1 
  
ql/src/test/org/apache/hadoop/hive/ql/parse/authorization/TestSessionUserName.java
 PRE-CREATION 

Diff: https://reviews.apache.org/r/17527/diff/


Testing
-------

Unit tests


Thanks,

Thejas Nair

Reply via email to