[ https://issues.apache.org/jira/browse/HIVE-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086572#comment-14086572 ]
Alexander Pivovarov commented on HIVE-6245: ------------------------------------------- Found one issue with patch #3 hcatalog can not be buit [ERROR] /home/alex/workLC/hive-release-2.1.3/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestPermsGrp.java:[79,19] method startMetaStore in class org.apache.hadoop.hive.metastore.MetaStoreUtils cannot be applied to given types; [ERROR] required: int,org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge,org.apache.hadoop.hive.conf.HiveConf [ERROR] found: int,org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge [ERROR] reason: actual and formal argument lists differ in length [ERROR] /home/alex/workLC/hive-release-2.1.3/hcatalog/core/src/test/java/org/apache/hive/hcatalog/mapreduce/TestHCatPartitionPublish.java:[108,19] method startMetaStore in class org.apache.hadoop.hive.metastore.MetaStoreUtils cannot be applied to given types; [ERROR] required: int,org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge,org.apache.hadoop.hive.conf.HiveConf [ERROR] found: int,org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge [ERROR] reason: actual and formal argument lists differ in length [ERROR] /home/alex/workLC/hive-release-2.1.3/hcatalog/core/src/test/java/org/apache/hcatalog/mapreduce/TestHCatPartitionPublish.java:[101,19] method startMetaStore in class org.apache.hadoop.hive.metastore.MetaStoreUtils cannot be applied to given types; [ERROR] required: int,org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge,org.apache.hadoop.hive.conf.HiveConf [ERROR] found: int,org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge [ERROR] reason: actual and formal argument lists differ in length [ERROR] /home/alex/workLC/hive-release-2.1.3/hcatalog/core/src/test/java/org/apache/hcatalog/cli/TestPermsGrp.java:[82,19] method startMetaStore in class org.apache.hadoop.hive.metastore.MetaStoreUtils cannot be applied to given types; [ERROR] required: int,org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge,org.apache.hadoop.hive.conf.HiveConf [ERROR] found: int,org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge [ERROR] reason: actual and formal argument lists differ in length > HS2 creates DBs/Tables with wrong ownership when HMS setugi is true > ------------------------------------------------------------------- > > Key: HIVE-6245 > URL: https://issues.apache.org/jira/browse/HIVE-6245 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 0.12.0, 0.13.0 > Reporter: Chaoyu Tang > Assignee: Venki Korukanti > Attachments: HIVE-6245.2.patch.txt, HIVE-6245.3.patch.txt, > HIVE-6245.patch > > > The case with following settings is valid but does not work correctly in > current HS2: > == > hive.server2.authentication=NONE (or LDAP) > hive.server2.enable.doAs= true > hive.metastore.sasl.enabled=false > hive.metastore.execute.setugi=true > == > Ideally, HS2 is able to impersonate the logged in user (from Beeline, or JDBC > application) and create DBs/Tables with user's ownership. -- This message was sent by Atlassian JIRA (v6.2#6252)