hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2716) Refactor ZKRMStateStore retry code with Apache Curator
Date Fri, 05 Jun 2015 23:35:01 GMT

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

Mime
View raw message