[
https://issues.apache.org/jira/browse/YARN-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820552#comment-13820552
]
Karthik Kambatla commented on YARN-1222:
----------------------------------------
bq. Can you please look at why the findbug was reported.
The findbugs warning is benign - numRetries is written to once during init and
only read since. I am tempted to go ahead and ignore it instead of making it an
AtomicInteger and such.
bq. Why not use the helper method that we have to do this translation?
Indeed, this is in the helper method. I got rid of the helper method from
previous revisions.
Will upload a patch shortly with the findbugs ignore.
> Make improvements in ZKRMStateStore for fencing
> -----------------------------------------------
>
> Key: YARN-1222
> URL: https://issues.apache.org/jira/browse/YARN-1222
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Bikas Saha
> Assignee: Karthik Kambatla
> Attachments: yarn-1222-1.patch, yarn-1222-2.patch, yarn-1222-3.patch,
> yarn-1222-4.patch, yarn-1222-5.patch, yarn-1222-6.patch, yarn-1222-7.patch,
> yarn-1222-8.patch, yarn-1222-8.patch, yarn-1222-9.patch
>
>
> Using multi-operations for every ZK interaction.
> In every operation, automatically creating/deleting a lock znode that is the
> child of the root znode. This is to achieve fencing by modifying the
> create/delete permissions on the root znode.
--
This message was sent by Atlassian JIRA
(v6.1#6144)