[
https://issues.apache.org/jira/browse/HIVE-21913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16869935#comment-16869935
]
Jason Dere commented on HIVE-21913:
-----------------------------------
+1
> GenericUDTFGetSplits should handle usernames in the same way as LLAP
> --------------------------------------------------------------------
>
> Key: HIVE-21913
> URL: https://issues.apache.org/jira/browse/HIVE-21913
> Project: Hive
> Issue Type: Bug
> Affects Versions: 4.0.0, 3.2.0
> Reporter: Prasanth Jayachandran
> Assignee: Prasanth Jayachandran
> Priority: Major
> Attachments: HIVE-21913.1.patch
>
>
> LLAP ZK registry namespacing includes current user name which is typically
> hive. But in some deployments, usernames are created with '_' like hive_dev.
> RegistryUtils.currentUser() (that LLAP uses) replaces '_' with '-' for DNS
> reasons. But GenericUDTFSplits uses UGI login user which does not do the
> underscore replacement. As a result, LlapBaseInputFormat is finding any LLAP
> daemons even though they are running.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)