You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/10/16 00:01:33 UTC

[jira] [Commented] (SLIDER-447) Post enablement of RM HA, Slider client still needs yarn.resourcemanager.address

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

ASF subversion and git services commented on SLIDER-447:
--------------------------------------------------------

Commit 08d7aec8f37b12c05830439b3a5e9b05e75248e8 in incubator-slider's branch refs/heads/develop from [~stevel@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=08d7aec ]

SLIDER-447 Post enablement of RM HA, Slider client still needs yarn.resourcemanager.address


> Post enablement of RM HA, Slider client still needs yarn.resourcemanager.address
> --------------------------------------------------------------------------------
>
>                 Key: SLIDER-447
>                 URL: https://issues.apache.org/jira/browse/SLIDER-447
>             Project: Slider
>          Issue Type: Bug
>          Components: client
>    Affects Versions: Slider 0.50
>            Reporter: Gour Saha
>            Assignee: Steve Loughran
>             Fix For: Slider 0.60
>
>
> After enabling Resource Manager HA, Slider still needs a value to be set for the property {{yarn.resourcemanager.address}} in slider-client.xml.
> Removing it throws the below exception:
> {color:red}
> {noformat}
> 2014-09-18 00:19:25,760 [main] ERROR main.ServiceLauncher - No valid Resource Manager address provided in the argument 
> --manager or the configuration property yarn.resourcemanager.address value :0.0.0.0/0.0.0.0:8032
> {noformat}
> {color}
> Letting the property be set to its pre-HA value {{c6402.ambari.apache.org:8050}} made it happy, although no one was listening on port 8050.
> Here is a complete list of properties which were added to slider-client.xml after RM HA was setup on a 3-node vagrant cluster (c6401, c6402, c6403) -
> {noformat}
>     <property>
>       <name>yarn.resourcemanager.cluster-id</name>
>       <value>yarn-cluster</value>
>     </property>
>     <property>
>       <name>yarn.resourcemanager.ha.enabled</name>
>       <value>true</value>
>     </property>
>     <property>
>       <name>yarn.resourcemanager.ha.rm-ids</name>
>       <value>rm1,rm2</value>
>     </property>
>     <property>
>       <name>yarn.resourcemanager.hostname.rm1</name>
>       <value>c6402.ambari.apache.org</value>
>     </property>
>     <property>
>       <name>yarn.resourcemanager.hostname.rm2</name>
>       <value>c6401.ambari.apache.org</value>
>     </property>
>     <property>
>       <name>yarn.resourcemanager.recovery.enabled</name>
>       <value>true</value>
>     </property>
>     <property>
>       <name>yarn.resourcemanager.store.class</name>
>       <value>org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore</value>
>     </property>
>     <property>
>       <name>yarn.resourcemanager.ha.automatic-failover.zk-base-path</name>
>       <value>/yarn-leader-election</value>
>     </property>
>     <property>
>       <name>yarn.resourcemanager.zk-address</name>
>       <value>c6401.ambari.apache.org,c6402.ambari.apache.org,c6403.ambari.apache.org</value>
>     </property>
> {noformat}



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