Re: Review Request 20340: HIVE-6907 - HiveServer2 - wrong user gets used for metastore operation with embedded metastore
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20340/ --- (Updated April 14, 2014, 10:36 p.m.) Review request for hive. Changes --- HIVE-6907.3.patch 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 (updated) - 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
Review Request 20340: HIVE-6907 - HiveServer2 - wrong user gets used for metastore operation with embedded metastore
--- 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