hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas Nair" <the...@hortonworks.com>
Subject Review Request 20340: HIVE-6907 - HiveServer2 - wrong user gets used for metastore operation with embedded metastore
Date Mon, 14 Apr 2014 21:45:08 GMT

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

Review request for hive.


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


Repository: hive-git


Description
-------

When queries are being run concurrently against HS2, sometimes the wrong user ends performing
the metastore action and you get an error like - 
{code}
..INFO|java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return
code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:java.security.AccessControlException:
action WRITE not permitted on path hdfs://example.net:8020/apps/hive/warehouse/tbl_4eeulg9zp4
for user hrt_qa)
{code}


Diffs
-----

  service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java a09590a 

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


Testing
-------

Testing done manually with several concurrent queries that also perform metastore operations,
each thread uses different users.


Thanks,

Thejas Nair


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message