[jira] [Updated] (HIVE-6907) HiveServer2 - wrong user gets used for metastore operation with embedded metastore

2014-04-14 Thread Harish Butani (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harish Butani updated HIVE-6907:


Fix Version/s: 0.13.0

> 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
> Fix For: 0.13.0
>
> Attachments: HIVE-6907.1.patch, HIVE-6907.2.patch, HIVE-6907.3.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)


[jira] [Updated] (HIVE-6907) HiveServer2 - wrong user gets used for metastore operation with embedded metastore

2014-04-14 Thread Thejas M Nair (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-6907:


Attachment: HIVE-6907.3.patch

HIVE-6907.3.patch - addressing review comment


> 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, HIVE-6907.3.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)


[jira] [Updated] (HIVE-6907) HiveServer2 - wrong user gets used for metastore operation with embedded metastore

2014-04-14 Thread Thejas M Nair (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-6907:


Summary: HiveServer2 - wrong user gets used for metastore operation with 
embedded metastore  (was: HS2 - wrong user gets used for metastore operation 
with embedded metastore)

> 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)