You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Subru Krishnan (JIRA)" <ji...@apache.org> on 2017/02/28 19:33:53 UTC

[jira] [Comment Edited] (YARN-6247) Add SubClusterResolver into FederationStateStoreFacade

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

Subru Krishnan edited comment on YARN-6247 at 2/28/17 7:33 PM:
---------------------------------------------------------------

Thanks [~botong] for the patch. It looks fairly straightforward. I have only one suggestion; can you clearly call out in {{SubClusterResolver}} interface (Javadoc) that implementing classes are expected to be thread-safe.


was (Author: subru):
Thanks [~botong] for the patch. It looks fairly straightforward. I have only one suggestion; can you clearly call out in {{SubClusterResolver}} interface that implementing classes are expected to be thread-safe.

> Add SubClusterResolver into FederationStateStoreFacade
> ------------------------------------------------------
>
>                 Key: YARN-6247
>                 URL: https://issues.apache.org/jira/browse/YARN-6247
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Botong Huang
>            Assignee: Botong Huang
>            Priority: Minor
>         Attachments: YARN-6247-YARN-2915.v1.patch, YARN-6247-YARN-2915.v2.patch
>
>
> Add SubClusterResolver into FederationStateStoreFacade. Since the resolver might involve some overhead (read file in the background, potentially periodically), it is good to put it inside FederationStateStoreFacade singleton, so that only one instance will be created. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org