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

Bikas Saha commented on YARN-659:
---------------------------------

Please look at the API http://zookeeper.apache.org/doc/r3.4.1/api/
There is no concept of a directory in ZK. We can delete any znode in the tree. 
There is no need to get the version number. If version is -1 in the delete 
command then the znode is deleted regardless.

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

Reply via email to