Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-149 [Umbrella] ResourceManager (RM) Fail-over
  3. YARN-1665

Set better defaults for HA configs for automatic failover

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • resourcemanager
    • None
    • Reviewed

    Description

      In order to enable HA (automatic failover) i had to set the following configs

      <property>
          <name>yarn.resourcemanager.ha.enabled</name>
          <value>true</value>
        </property>
        
        <property>
          <name>yarn.resourcemanager.ha.automatic-failover.enabled</name>
          <value>true</value>
        </property>
      
        <property>
          <name>yarn.resourcemanager.ha.automatic-failover.embedded</name>
          <value>true</value>
        </property>
      
      

      I believe the user should just have to set yarn.resourcemanager.ha.enabled=true and the rest should be set as defaults. Basically automatic failover should be the default.

      Attachments

        1. YARN-1665.1.patch
          9 kB
          Xuan Gong
        2. YARN-1665.2.patch
          8 kB
          Xuan Gong

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xgong Xuan Gong
            arpitgupta Arpit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment