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

Karthik Kambatla commented on YARN-2716:
----------------------------------------

bq. removeApplicationStateInternal can also use the 
curatorFramework.delete().deletingChildrenIfNeeded() instead of adding all 
children manually ?
safeDelete adds the nodes to a transaction that creates and deletes the fencing 
node as well. Curator transactions don't support {{deletingChildrenIfNeeded}} 
yet. 

> Refactor ZKRMStateStore retry code with Apache Curator
> ------------------------------------------------------
>
>                 Key: YARN-2716
>                 URL: https://issues.apache.org/jira/browse/YARN-2716
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Jian He
>            Assignee: Karthik Kambatla
>         Attachments: yarn-2716-1.patch, yarn-2716-2.patch, 
> yarn-2716-prelim.patch, yarn-2716-prelim.patch, yarn-2716-super-prelim.patch
>
>
> Per suggestion by [~kasha] in YARN-2131,  it's nice to use curator to 
> simplify the retry logic in ZKRMStateStore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to