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 "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/05/08 22:51:03 UTC

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

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

Hadoop QA commented on HADOOP-9453:
-----------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m  0s | The patch command could not apply the patch during dryrun. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12586475/HADOOP-9453-002.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / c39012f |
| Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/6553/console |


This message was automatically generated.

> 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
>         Attachments: HADOOP-9453-002.patch, HADOOP-9453.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)