[ https://issues.apache.org/jira/browse/HIVE-13888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
shanyu zhao updated HIVE-13888: ------------------------------- Status: Patch Available (was: Open) > Hive shims impersonate the same user if HADOOP_USER_NAME is the current user > ---------------------------------------------------------------------------- > > Key: HIVE-13888 > URL: https://issues.apache.org/jira/browse/HIVE-13888 > Project: Hive > Issue Type: Bug > Affects Versions: 1.2.1 > Reporter: shanyu zhao > Assignee: shanyu zhao > Attachments: HIVE-13888.patch > > > Hive shims provides a getUGI() method, which creates proxy user for > impersonation if HADOOP_USER_NAME is present in environment. If > HADOOP_USER_NAME equals to current login user, it is not necessary to create > a proxy user. > It is troublesome in a Hadoop cluster where impersonation is not allowed, and > one tries to run hive code in a container where HADOOP_USER_NAME is set. RM > will throw Exception: User XXX is not allowed to impersonate XXX. -- This message was sent by Atlassian JIRA (v6.3.4#6332)