hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1514) Utility to benchmark ZKRMStateStore#loadState for ResourceManager-HA
Date Tue, 10 Jun 2014 17:37:03 GMT

    [ https://issues.apache.org/jira/browse/YARN-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026741#comment-14026741

Tsuyoshi OZAWA commented on YARN-1514:

Attached wip version 2 patch.

1. number of applications
2. number of application attempts 
3. ZK connection configuration(host:port)
4. Added YarnTestDriver to launch this perf tool from {{bin/hadoop}} command.

What a latest patch doesn't solve is dependency problem. Currently, it doesn't include dependency
on zookeeper-tests, so we'll see the following class-path error:

bin/hadoop jar ../hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/hadoop-yarn-server-resourcemanager-3.0.0-SNAPSHOT-tests.jar
java.lang.NoClassDefFoundError: org/apache/zookeeper/ZKTestCase
        at java.lang.ClassLoader.defineClass1(Native Method)                             
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)    

 [~kkambatl], can we add zookeeper-tests' jar to the result of {{mvn package}}?

> Utility to benchmark ZKRMStateStore#loadState for ResourceManager-HA
> --------------------------------------------------------------------
>                 Key: YARN-1514
>                 URL: https://issues.apache.org/jira/browse/YARN-1514
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Tsuyoshi OZAWA
>            Assignee: Tsuyoshi OZAWA
>             Fix For: 2.5.0
>         Attachments: YARN-1514.wip-2.patch, YARN-1514.wip.patch
> ZKRMStateStore is very sensitive to ZNode-related operations as discussed in YARN-1307,
YARN-1378 and so on. Especially, ZKRMStateStore#loadState is called when RM-HA cluster does
failover. Therefore, its execution time impacts failover time of RM-HA.
> We need utility to benchmark time execution time of ZKRMStateStore#loadStore as development

This message was sent by Atlassian JIRA

View raw message