You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Tsuyoshi OZAWA (JIRA)" <ji...@apache.org> on 2012/06/17 18:43:42 UTC

[jira] [Updated] (MAPREDUCE-4343) ZK recovery support for ResourceManager

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

Tsuyoshi OZAWA updated MAPREDUCE-4343:
--------------------------------------

    Attachment: MR-4343.1.patch

Harsh,

The attached patch allows ResourceManager to use ZKStore.
                
> ZK recovery support for ResourceManager
> ---------------------------------------
>
>                 Key: MAPREDUCE-4343
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4343
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Harsh J
>         Attachments: MR-4343.1.patch
>
>
> 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:
> {code}
> <property>
> <name>yarn.resourcemanager.store.class</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>
> {code}
> {code}
> 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
> {code}
> This JIRA is hence filed to track the addition/completion of recovery via ZK.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira