Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Review Request 21679: HIVE-6245: HS2 creates DBs/Tables with wrong ownership when HMS setugi is true


Copy link to this message
-
Review Request 21679: HIVE-6245: HS2 creates DBs/Tables with wrong ownership when HMS setugi is true

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

Review request for hive, Thejas Nair and Vaibhav Gumashta.
Bugs: HIVE-6245
    https://issues.apache.org/jira/browse/HIVE-6245
Repository: hive-git
Description

Instead of creating Hive object when authentication type is "KERBEROS", always create the Hive object HiveSessionImplWithUGI is created when user impersonation is needed.
Diffs

  itests/hive-unit/src/test/java/org/apache/hive/service/TestHS2WithRemoteMS.java PRE-CREATION
  metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java 5a56ced
  service/src/java/org/apache/hive/service/cli/session/HiveSessionImplwithUGI.java e79b129

Diff: https://reviews.apache.org/r/21679/diff/
Testing

Patch includes a test.
Thanks,

Venki Korukanti