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

Steve Loughran commented on SLIDER-447:
---------------------------------------

this looks like a bug in {{SliderClient.verifyBindingsDefined()}} -it does some 
sanity checks there and needs to be changed to see if the HA properties are set 
-and if so, not worry about the simple property.

If you make the validation static on a {{Configuration}} object it'd be easy to 
write a couple of unit tests to check this

> 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: Gour Saha
>
> 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)

Reply via email to