hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2715) Proxy user is problem for RPC interface if yarn.resourcemanager.webapp.proxyuser is not set.
Date Wed, 22 Oct 2014 03:12:34 GMT

    [ https://issues.apache.org/jira/browse/YARN-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179514#comment-14179514
] 

Hudson commented on YARN-2715:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #6308 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/6308/])
YARN-2715. Fixed ResourceManager to respect common configurations for proxy users/groups beyond
just the YARN level config. Contributed by Zhijie Shen. (vinodkv: rev c0e034336c85296be6f549d88d137fb2b2b79a15)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMProxyUsersConf.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/security/http/RMAuthenticationFilterInitializer.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/RMServerUtils.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServicesDelegationTokenAuthentication.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/AdminService.java
* hadoop-yarn-project/CHANGES.txt


> Proxy user is problem for RPC interface if yarn.resourcemanager.webapp.proxyuser is not
set.
> --------------------------------------------------------------------------------------------
>
>                 Key: YARN-2715
>                 URL: https://issues.apache.org/jira/browse/YARN-2715
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.6.0
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>            Priority: Blocker
>             Fix For: 2.6.0
>
>         Attachments: YARN-2715.1.patch, YARN-2715.2.patch, YARN-2715.3.patch, YARN-2715.4.patch
>
>
> After YARN-2656, if people set hadoop.proxyuser for the client<-->RM RPC interface,
it's not going to work, because ProxyUsers#sip is a singleton per daemon. After YARN-2656,
RM has both channels that want to set this configuration: RPC and HTTP. RPC interface sets
it first by reading hadoop.proxyuser, but it is overwritten by HTTP interface, who sets it
to empty because yarn.resourcemanager.webapp.proxyuser doesn't exist.
> The fix for it could be similar to what we've done for YARN-2676: make the HTTP interface
anyway source hadoop.proxyuser first, then yarn.resourcemanager.webapp.proxyuser.



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

Mime
View raw message