[
https://issues.apache.org/jira/browse/HIVE-21970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882447#comment-16882447
]
Hive QA commented on HIVE-21970:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12974102/HIVE-21970.2.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:green}SUCCESS:{color} +1 due to 16647 tests passed
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/17946/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17946/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17946/
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
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12974102 - 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, HIVE-21970.2.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)