You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2019/07/08 23:25:00 UTC

[jira] [Updated] (HIVE-21970) Avoid using RegistryUtils.currentUser()

     [ https://issues.apache.org/jira/browse/HIVE-21970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasanth Jayachandran updated HIVE-21970:
-----------------------------------------
    Description: 
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.getLoginUser().getShortUserName() for consistency. 

  was: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).


> 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
>
> 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.getLoginUser().getShortUserName() for consistency. 



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