You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "zhaojianbo (JIRA)" <ji...@apache.org> on 2016/04/28 16:26:13 UTC

[jira] [Created] (HADOOP-13069) Making hadoop client proxy multi user in a process context

zhaojianbo created HADOOP-13069:
-----------------------------------

             Summary: Making hadoop client proxy multi user in a process context
                 Key: HADOOP-13069
                 URL: https://issues.apache.org/jira/browse/HADOOP-13069
             Project: Hadoop Common
          Issue Type: Improvement
    Affects Versions: 2.6.0
            Reporter: zhaojianbo


Now hadoop client can proxy an other user if setting HADOOP_PROXY_USER in the environment parameters. But the mechanism can proxy only one user in a process context. The code is like:
{quote}
  public synchronized 
  static UserGroupInformation getLoginUser() throws IOException {
    if (loginUser == null) {
      loginUserFromSubject(null);
    }
    return loginUser;
  }
{quote}
The static variable loginUser cache the last login user.

But in some cases, we want to proxy multi users in one process context. It seems to be that the current code is not support that.Is it?

Correct me if I'm wrong. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)