Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4B5F617EBF for ; Fri, 8 May 2015 20:51:04 +0000 (UTC) Received: (qmail 69986 invoked by uid 500); 8 May 2015 20:51:04 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 69934 invoked by uid 500); 8 May 2015 20:51:04 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 69917 invoked by uid 99); 8 May 2015 20:51:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2015 20:51:04 +0000 Date: Fri, 8 May 2015 20:51:03 +0000 (UTC) From: "Hadoop QA (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-9453) Configuration.loadResource should skip empty resources MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)