Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4343

ZK recovery support for ResourceManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      MAPREDUCE-279 included bits and pieces of possible ZK integration for YARN's RM, but looks like it failed to complete it (for scalability reasons? etc?) and there seems to be no JIRA tracking this feature that has been already claimed publicly as a good part about YARN.

      If it did complete it, we should document how to use it. Setting the following only yields:

      <property>
      <name>yarn.resourcemanager.store.class&lt;/name>
      <value>org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKStore</value>
      </property>
      <property>
      <name>yarn.resourcemanager.zookeeper-store.address</name>
      <value>test.vm:2181/yarn-recovery-store</value>
      </property>
      
      Error starting ResourceManager
      java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKStore.<init>()
      at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:128)
      at org.apache.hadoop.yarn.server.resourcemanager.recovery.StoreFactory.getStore(StoreFactory.java:32)
      at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:621)
      Caused by: java.lang.NoSuchMethodException: org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKStore.<init>()
      at java.lang.Class.getConstructor0(Class.java:2706)
      at java.lang.Class.getDeclaredConstructor(Class.java:1985)
      at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:122)
      ... 2 more
      

      This JIRA is hence filed to track the addition/completion of recovery via ZK.

      Attachments

        1. MR-4343.1.patch
          17 kB
          Tsuyoshi Ozawa

        Issue Links

          Activity

            People

              Unassigned Unassigned
              qwertymaniac Harsh J
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: