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 "Daniel Templeton (JIRA)" <ji...@apache.org> on 2017/11/07 20:49:01 UTC

[jira] [Updated] (YARN-7143) FileNotFound handling in ResourceUtils is inconsistent

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

Daniel Templeton updated YARN-7143:
-----------------------------------
    Attachment: YARN-7143.002.patch

Rebased to trunk and removed the return value from {{addResourcesFileToConf()}} since we weren't doing anything with it.  If we can't find the file, I don't think there's any need to more than just log that fact, which we do.

> FileNotFound handling in ResourceUtils is inconsistent
> ------------------------------------------------------
>
>                 Key: YARN-7143
>                 URL: https://issues.apache.org/jira/browse/YARN-7143
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>    Affects Versions: YARN-3926
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>         Attachments: YARN-7143.002.patch, YARN-7143.YARN-3926.001.patch
>
>
> When loading the resource-types.xml file, we warn and move on if it's not found.  When loading the node-resource.xml file, we abort loading resource types if the file isn't found.



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