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-659) RMStateStore's removeApplication APIs should just take an applicationId
Date Thu, 14 Nov 2013 01:57:21 GMT

    [ 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)

Mime
View raw message