[
https://issues.apache.org/jira/browse/HIVE-15177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16872165#comment-16872165
]
Hive QA commented on HIVE-15177:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12972785/HIVE-15177.1.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 16339 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_dynamic_partition_pruning_recursive_mapjoin]
(batchId=193)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/17721/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17721/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17721/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
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: 12972785 - PreCommit-HIVE-Build
> Authentication with hive fails when kerberos auth type is set to fromSubject
> and principal contains _HOST
> ---------------------------------------------------------------------------------------------------------
>
> Key: HIVE-15177
> URL: https://issues.apache.org/jira/browse/HIVE-15177
> Project: Hive
> Issue Type: Bug
> Components: Authentication
> Reporter: Subrahmanya
> Assignee: Oliver Draese
> Priority: Major
> Fix For: 3.1.1
>
> Attachments: HIVE-15177.1.patch
>
>
> Authentication with hive fails when kerberos auth type is set to fromSubject
> and principal contains _HOST.
> When auth type is set to fromSubject, _HOST in principal is not resolved to
> the actual host name even though the correct host name is available. This
> leads to connection failure. If auth type is not set to fromSubject host
> resolution is done correctly.
> The problem is in getKerberosTransport method of
> org.apache.hive.service.auth.KerberosSaslHelper class. When assumeSubject is
> true host name in the principal is not resolved. When it is false, host name
> is passed on to HadoopThriftAuthBridge, which takes care of resolving the
> parameter.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)