[ https://issues.apache.org/jira/browse/HIVE-21970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasanth Jayachandran updated HIVE-21970: ----------------------------------------- Attachment: HIVE-21970.2.patch > 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)