[ 
https://issues.apache.org/jira/browse/HIVE-6907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968934#comment-13968934
 ] 

Vaibhav Gumashta commented on HIVE-6907:
----------------------------------------

+1 (non-binding). 

I've tested the fix with following 7 combinations:
*Binary mode*
1. Secure MR: 291 passed in 2061.69 seconds
2. Unsecure MR: 334 passed in 2011.29 seconds
3. Secure Tez:   2 failed, 378 passed in 2016.36 seconds (All create index 
failures - known issue)
4. Unsecure Tez: 4 failed, 435 passed in 1997.65 seconds (All create index 
failures - known issue)

*Http mode*
5. Secure MR: 287 passed in 2161.14 seconds
6. Secure Tez:   1 failed, 369 passed in 2142.57 seconds(All create index 
failures - known issue)
7. Unsecure Tez: 3 failed, 429 passed in 2137.11 seconds (All create index 
failures - known issue)

My setup: Ran tests for 30 mins, with 20 test threads (firing different queries 
in parallel; [~deepesh], [~taksaito] thanks for the test code) and HS2 running 
only 10 async threads.

> HiveServer2 - wrong user gets used for metastore operation with embedded 
> metastore
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-6907
>                 URL: https://issues.apache.org/jira/browse/HIVE-6907
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 0.13.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Blocker
>         Attachments: HIVE-6907.1.patch, HIVE-6907.2.patch
>
>
> 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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to