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

Hive QA commented on HIVE-21970:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12973992/HIVE-21970.1.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 16624 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[hybridgrace_hashjoin_2]
 (batchId=110)
org.apache.hive.jdbc.TestSSL.testMetastoreWithSSL (batchId=273)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/17924/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17924/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17924/

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: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12973992 - PreCommit-HIVE-Build

> Avoid using RegistryUtils.currentUser()
> ---------------------------------------
>
>                 Key: HIVE-21970
>                 URL: https://issues.apache.org/jira/browse/HIVE-21970
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0, 3.2.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>         Attachments: HIVE-21970.1.patch
>
>
> RegistryUtils.currentUser() does replacement of '_' with '-' for DNS reasons. 
> This is used inconsistently in some places causing issues wrt. ZK (deletion 
> token secret manager, llap cluster membership for external clients).
>  
> Replace RegistryUtils.currentUser() with 
> UserGroupInformation.getCurrentUser().getShortUserName() for consistency. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to