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 0D6CE176EA for ; Wed, 6 May 2015 03:27:35 +0000 (UTC) Received: (qmail 34035 invoked by uid 500); 6 May 2015 03:27:34 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 33993 invoked by uid 500); 6 May 2015 03:27:34 -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 33867 invoked by uid 99); 6 May 2015 03:27:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 03:27:34 +0000 Date: Wed, 6 May 2015 03:27:34 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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:all-tabpanel ] Allen Wittenauer updated HADOOP-9453: ------------------------------------- Labels: BB2015-05-TBR (was: ) > 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 > Labels: BB2015-05-TBR > 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)