[
https://issues.apache.org/jira/browse/YARN-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999258#comment-13999258
]
Tsuyoshi OZAWA commented on YARN-1514:
--------------------------------------
I'll make these parameters configurable:
1. number of applications
2. number of application attempts
3. ZK connection configuration(host:port)
A result message with the WIP patch is as follows:
{quote}
ZKRMStateStore takes 12644 msec to loadState.
{quote}
> 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.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
(v6.2#6252)