[jira] [Updated] (HIVE-6800) HiveServer2 is not passing proxy user setting through hive-site

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

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

Thejas M Nair updated HIVE-6800:


Resolution: Fixed
Status: Resolved  (was: Patch Available)

Patch committed to trunk and 0.13 branch.
Thanks for the contribution Vaibhav, and thanks for the review Prasad!


> HiveServer2 is not passing proxy user setting through hive-site
> ---
>
> Key: HIVE-6800
> URL: https://issues.apache.org/jira/browse/HIVE-6800
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 0.13.0
>Reporter: Vaibhav Gumashta
>Assignee: Vaibhav Gumashta
> Fix For: 0.13.0
>
> Attachments: HIVE-6800.1.patch
>
>
> Setting the following in core-site.xml works fine in a secure cluster with 
> hive.server2.allow.user.substitution set to true:
> {code}
> 
>   hadoop.proxyuser.user1.groups
>   users
> 
> 
> 
>   hadoop.proxyuser.user1.hosts
>   *
> 
> {code}
> where user1 will be proxying for user2:
> {code}
> !connect 
> jdbc:hive2:/myhostname:1/;principal=hive/_h...@example.com;hive.server2.proxy.user=user2
>  user1 fakepwd org.apache.hive.jdbc.HiveDriver
> {code}
> However, setting this in hive-site.xml throws "Failed to validate proxy 
> privilage" exception.



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


[jira] [Updated] (HIVE-6800) HiveServer2 is not passing proxy user setting through hive-site

2014-03-31 Thread Vaibhav Gumashta (JIRA)

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

Vaibhav Gumashta updated HIVE-6800:
---

Attachment: (was: HIVE-6800.1.patch)

> HiveServer2 is not passing proxy user setting through hive-site
> ---
>
> Key: HIVE-6800
> URL: https://issues.apache.org/jira/browse/HIVE-6800
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 0.13.0
>Reporter: Vaibhav Gumashta
>Assignee: Vaibhav Gumashta
> Fix For: 0.13.0
>
> Attachments: HIVE-6800.1.patch
>
>
> Setting the following in core-site.xml works fine in a secure cluster with 
> hive.server2.allow.user.substitution set to true:
> {code}
> 
>   hadoop.proxyuser.user1.groups
>   users
> 
> 
> 
>   hadoop.proxyuser.user1.hosts
>   *
> 
> {code}
> where user1 will be proxying for user2:
> {code}
> !connect 
> jdbc:hive2:/myhostname:1/;principal=hive/_h...@example.com;hive.server2.proxy.user=user2
>  user1 fakepwd org.apache.hive.jdbc.HiveDriver
> {code}
> However, setting this in hive-site.xml throws "Failed to validate proxy 
> privilage" exception.



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


[jira] [Updated] (HIVE-6800) HiveServer2 is not passing proxy user setting through hive-site

2014-03-31 Thread Vaibhav Gumashta (JIRA)

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

Vaibhav Gumashta updated HIVE-6800:
---

Attachment: HIVE-6800.1.patch

> HiveServer2 is not passing proxy user setting through hive-site
> ---
>
> Key: HIVE-6800
> URL: https://issues.apache.org/jira/browse/HIVE-6800
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 0.13.0
>Reporter: Vaibhav Gumashta
>Assignee: Vaibhav Gumashta
> Fix For: 0.13.0
>
> Attachments: HIVE-6800.1.patch
>
>
> Setting the following in core-site.xml works fine in a secure cluster with 
> hive.server2.allow.user.substitution set to true:
> {code}
> 
>   hadoop.proxyuser.user1.groups
>   users
> 
> 
> 
>   hadoop.proxyuser.user1.hosts
>   *
> 
> {code}
> where user1 will be proxying for user2:
> {code}
> !connect 
> jdbc:hive2:/myhostname:1/;principal=hive/_h...@example.com;hive.server2.proxy.user=user2
>  user1 fakepwd org.apache.hive.jdbc.HiveDriver
> {code}
> However, setting this in hive-site.xml throws "Failed to validate proxy 
> privilage" exception.



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


[jira] [Updated] (HIVE-6800) HiveServer2 is not passing proxy user setting through hive-site

2014-03-31 Thread Vaibhav Gumashta (JIRA)

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

Vaibhav Gumashta updated HIVE-6800:
---

Status: Patch Available  (was: Open)

> HiveServer2 is not passing proxy user setting through hive-site
> ---
>
> Key: HIVE-6800
> URL: https://issues.apache.org/jira/browse/HIVE-6800
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 0.13.0
>Reporter: Vaibhav Gumashta
>Assignee: Vaibhav Gumashta
> Fix For: 0.13.0
>
> Attachments: HIVE-6800.1.patch
>
>
> Setting the following in core-site.xml works fine in a secure cluster with 
> hive.server2.allow.user.substitution set to true:
> {code}
> 
>   hadoop.proxyuser.user1.groups
>   users
> 
> 
> 
>   hadoop.proxyuser.user1.hosts
>   *
> 
> {code}
> where user1 will be proxying for user2:
> {code}
> !connect 
> jdbc:hive2:/myhostname:1/;principal=hive/_h...@example.com;hive.server2.proxy.user=user2
>  user1 fakepwd org.apache.hive.jdbc.HiveDriver
> {code}
> However, setting this in hive-site.xml throws "Failed to validate proxy 
> privilage" exception.



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


[jira] [Updated] (HIVE-6800) HiveServer2 is not passing proxy user setting through hive-site

2014-03-31 Thread Vaibhav Gumashta (JIRA)

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

Vaibhav Gumashta updated HIVE-6800:
---

Attachment: HIVE-6800.1.patch

> HiveServer2 is not passing proxy user setting through hive-site
> ---
>
> Key: HIVE-6800
> URL: https://issues.apache.org/jira/browse/HIVE-6800
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 0.13.0
>Reporter: Vaibhav Gumashta
>Assignee: Vaibhav Gumashta
> Fix For: 0.13.0
>
> Attachments: HIVE-6800.1.patch
>
>
> Setting the following in core-site.xml works fine in a secure cluster with 
> hive.server2.allow.user.substitution set to true:
> {code}
> 
>   hadoop.proxyuser.user1.groups
>   users
> 
> 
> 
>   hadoop.proxyuser.user1.hosts
>   *
> 
> {code}
> where user1 will be proxying for user2:
> {code}
> !connect 
> jdbc:hive2:/myhostname:1/;principal=hive/_h...@example.com;hive.server2.proxy.user=user2
>  user1 fakepwd org.apache.hive.jdbc.HiveDriver
> {code}
> However, setting this in hive-site.xml throws "Failed to validate proxy 
> privilage" exception.



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


[jira] [Updated] (HIVE-6800) HiveServer2 is not passing proxy user setting through hive-site

2014-03-31 Thread Vaibhav Gumashta (JIRA)

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

Vaibhav Gumashta updated HIVE-6800:
---

Attachment: (was: HIVE-6800.1.patch)

> HiveServer2 is not passing proxy user setting through hive-site
> ---
>
> Key: HIVE-6800
> URL: https://issues.apache.org/jira/browse/HIVE-6800
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 0.13.0
>Reporter: Vaibhav Gumashta
>Assignee: Vaibhav Gumashta
> Fix For: 0.13.0
>
> Attachments: HIVE-6800.1.patch
>
>
> Setting the following in core-site.xml works fine in a secure cluster with 
> hive.server2.allow.user.substitution set to true:
> {code}
> 
>   hadoop.proxyuser.user1.groups
>   users
> 
> 
> 
>   hadoop.proxyuser.user1.hosts
>   *
> 
> {code}
> where user1 will be proxying for user2:
> {code}
> !connect 
> jdbc:hive2:/myhostname:1/;principal=hive/_h...@example.com;hive.server2.proxy.user=user2
>  user1 fakepwd org.apache.hive.jdbc.HiveDriver
> {code}
> However, setting this in hive-site.xml throws "Failed to validate proxy 
> privilage" exception.



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


[jira] [Updated] (HIVE-6800) HiveServer2 is not passing proxy user setting through hive-site

2014-03-31 Thread Vaibhav Gumashta (JIRA)

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

Vaibhav Gumashta updated HIVE-6800:
---

Attachment: HIVE-6800.1.patch

cc [~thejas] [~prasadm]

[~rhbutani] Bug for 13!

Thanks!

> HiveServer2 is not passing proxy user setting through hive-site
> ---
>
> Key: HIVE-6800
> URL: https://issues.apache.org/jira/browse/HIVE-6800
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 0.13.0
>Reporter: Vaibhav Gumashta
>Assignee: Vaibhav Gumashta
> Fix For: 0.13.0
>
> Attachments: HIVE-6800.1.patch
>
>
> Setting the following in core-site.xml works fine in a secure cluster with 
> hive.server2.allow.user.substitution set to true:
> {code}
> 
>   hadoop.proxyuser.user1.groups
>   users
> 
> 
> 
>   hadoop.proxyuser.user1.hosts
>   *
> 
> {code}
> where user1 will be proxying for user2:
> {code}
> !connect 
> jdbc:hive2:/myhostname:1/;principal=hive/_h...@example.com;hive.server2.proxy.user=user2
>  user1 fakepwd org.apache.hive.jdbc.HiveDriver
> {code}
> However, setting this in hive-site.xml throws "Failed to validate proxy 
> privilage" exception.



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