bhuvnesh chaudhary created AMBARI-14143:
-------------------------------------------

             Summary: Hawq configuration property should be updated when yarn 
ha is enabled
                 Key: AMBARI-14143
                 URL: https://issues.apache.org/jira/browse/AMBARI-14143
             Project: Ambari
          Issue Type: Improvement
    Affects Versions: trunk
            Reporter: bhuvnesh chaudhary
            Assignee: bhuvnesh chaudhary


Hawq configuration property should be updated when yarn ha is enabled.

The below properties should be updated in yarn-client.xml
{code}
<property>
   <name>yarn.resourcemanager.ha</name>        
<value>%RESOURCEMANAGER%:9980,%RESOURCEMANAGER2%:9980</value>
</property>
<property>
     <name>yarn.resourcemanager.scheduler.ha</name>
  <value>%RESOURCEMANAGER%:9981,%RESOURCEMANAGER2%:9981</value>
</property>
{code}

In Hadoop Yarn configuration, these information are configured in 
yarn-site.xml, below is an example. They are corresponding to each other(but 
use different property names).
{code}
    <property>
        <name>yarn.resourcemanager.address.rm1</name>
        <value>%RESOURCEMANAGER%:9980</value>
    </property>
    <property>
        <name>yarn.resourcemanager.address.rm2</name>
        <value>%RESOURCEMANAGER2%:9980</value>
    </property>         
    <property>
        <name>yarn.resourcemanager.scheduler.address.rm1</name>
        <value>%RESOURCEMANAGER%:9981</value>
    </property>
    <property>
        <name>yarn.resourcemanager.scheduler.address.rm2</name>
        <value>%RESOURCEMANAGER2%:9981</value>
    </property> 
{code}



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

Reply via email to