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/07/12 23:06:00 UTC

[jira] [Updated] (YARN-6815) [Bug] FederationStateStoreFacade return behavior should be consistent irrespective of whether caching is enabled or not

     [ https://issues.apache.org/jira/browse/YARN-6815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Subru Krishnan updated YARN-6815:
---------------------------------
    Attachment: YARN-6815-YARN-2915.v1.patch

Attaching a patch that makes the return behavior of _getSubCluster/getPolicyConfiguration_ consistent and tests to validate the same.

> [Bug] FederationStateStoreFacade return behavior should be consistent irrespective of whether caching is enabled or not
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6815
>                 URL: https://issues.apache.org/jira/browse/YARN-6815
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>            Reporter: Subru Krishnan
>         Attachments: YARN-6815-YARN-2915.v1.patch
>
>
> {{FederationStateStoreFacade::getSubCluster/getPolicyConfiguration}} returns null if caching is enabled or throws YarnException if caching is disabled if the queried entity is absent. This jira proposes to make the return consistent to ensure correctness of clients like {{RouterPolicyFacade}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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