You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2014/01/04 17:18:51 UTC
[jira] [Updated] (YARN-1559) Race between ServerRMProxy and
ClientRMProxy setting RMProxy#INSTANCE
[ https://issues.apache.org/jira/browse/YARN-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bikas Saha updated YARN-1559:
-----------------------------
Issue Type: Sub-task (was: Bug)
Parent: YARN-149
> Race between ServerRMProxy and ClientRMProxy setting RMProxy#INSTANCE
> ---------------------------------------------------------------------
>
> Key: YARN-1559
> URL: https://issues.apache.org/jira/browse/YARN-1559
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Affects Versions: 2.4.0
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Priority: Blocker
>
> RMProxy#INSTANCE is a non-final static field and both ServerRMProxy and ClientRMProxy set it. This leads to races as witnessed on - YARN-1482.
> Sample trace:
> {noformat}
> java.lang.IllegalArgumentException: RM does not support this client protocol
> at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
> at org.apache.hadoop.yarn.client.ClientRMProxy.checkAllowedProtocols(ClientRMProxy.java:119)
> at org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider.init(ConfiguredRMFailoverProxyProvider.java:58)
> at org.apache.hadoop.yarn.client.RMProxy.createRMFailoverProxyProvider(RMProxy.java:158)
> at org.apache.hadoop.yarn.client.RMProxy.createRMProxy(RMProxy.java:88)
> at org.apache.hadoop.yarn.server.api.ServerRMProxy.createRMProxy(ServerRMProxy.java:56)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)