You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2014/04/01 10:31:16 UTC
[jira] [Commented] (HIVE-6800) HiveServer2 is not passing proxy
user setting through hive-site
[ https://issues.apache.org/jira/browse/HIVE-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13956237#comment-13956237 ]
Hive QA commented on HIVE-6800:
-------------------------------
{color:red}Overall{color}: -1 at least one tests failed
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12637963/HIVE-6800.1.patch
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 5513 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_infer_bucket_sort_dyn_part
{noformat}
Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/2059/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/2059/console
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12637963
> 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}
> <property>
> <name>hadoop.proxyuser.user1.groups</name>
> <value>users</value>
> </property>
>
> <property>
> <name>hadoop.proxyuser.user1.hosts</name>
> <value>*</value>
> </property>
> {code}
> where user1 will be proxying for user2:
> {code}
> !connect jdbc:hive2:/myhostname:10000/;principal=hive/_HOST@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)