[ 
https://issues.apache.org/jira/browse/SLIDER-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gour Saha updated SLIDER-447:
-----------------------------
    Description: 
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}

  was:
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}


> 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
>
> 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