[ https://issues.apache.org/jira/browse/YARN-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822092#comment-13822092
]
Tsuyoshi OZAWA commented on YARN-659:
-------------------------------------
Hi [~jianhe], ZK doesn't support 'directory removal'. But we can do it with multi ops API
with stats as follows:
1. Call getChildren to get all attempt ids.
2. Call getData to get all stats of attempt ids' node.
3. Call multi List<Op.delete> with version numbers of attempts ids.
> RMStateStore's removeApplication APIs should just take an applicationId
> -----------------------------------------------------------------------
>
> Key: YARN-659
> URL: https://issues.apache.org/jira/browse/YARN-659
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Reporter: Vinod Kumar Vavilapalli
> Assignee: Tsuyoshi OZAWA
>
> There is no need to give in the whole state for removal - just an ID should be enough
when an app finishes.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
|