You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2013/04/03 17:03:16 UTC

[jira] [Created] (HADOOP-9453) Configuration.loadResource should skip empty resources

Steve Loughran created HADOOP-9453:
--------------------------------------

             Summary: Configuration.loadResource should skip empty resources
                 Key: HADOOP-9453
                 URL: https://issues.apache.org/jira/browse/HADOOP-9453
             Project: Hadoop Common
          Issue Type: Improvement
          Components: conf
    Affects Versions: 3.0.0
            Reporter: Steve Loughran
            Priority: Minor


YARN-535 shows that having a 0-byte {yarn-site}} file (created due to the test itself) breaks configuration loads, as it is a default resource that no longer parses.

The resource loader code skips missing files -it should do the same for 0-byte files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira