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/06/21 18:04:00 UTC
[jira] [Commented] (HIVE-21913) GenericUDTFGetSplits should handle
usernames in the same way as LLAP
[ https://issues.apache.org/jira/browse/HIVE-21913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16869755#comment-16869755 ]
Prasanth Jayachandran commented on HIVE-21913:
----------------------------------------------
[~jdere] can you please review this small patch?
> 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)