[ https://issues.apache.org/jira/browse/HIVE-21970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880938#comment-16880938 ]
Gopal V commented on HIVE-21970: -------------------------------- LGTM - +1 tests pending > 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)