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 

bin/hadoop jar 
java.lang.NoClassDefFoundError: org/apache/zookeeper/ZKTestCase
        at java.lang.ClassLoader.defineClass1(Native Method)                    
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

 [~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 tool.

This message was sent by Atlassian JIRA

Reply via email to