[
https://issues.apache.org/jira/browse/HIVE-21913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasanth Jayachandran updated HIVE-21913:
-----------------------------------------
Resolution: Fixed
Fix Version/s: 3.2.0
4.0.0
Status: Resolved (was: Patch Available)
Committed to master and branch-3. Thanks for the review!
> 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
> Fix For: 4.0.0, 3.2.0
>
> 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)