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 73ED818C6C for ; Thu, 24 Sep 2015 22:31:06 +0000 (UTC) Received: (qmail 2294 invoked by uid 500); 24 Sep 2015 22:31:06 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 2249 invoked by uid 500); 24 Sep 2015 22:31:06 -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 2228 invoked by uid 99); 24 Sep 2015 22:31:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2015 22:31:06 +0000 Date: Thu, 24 Sep 2015 22:31:06 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12252) LocalDirAllocator should not throw NPE with empty string configuration. 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-12252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907155#comment-14907155 ] Hudson commented on HADOOP-12252: --------------------------------- FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #443 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/443/]) HADOOP-12252. LocalDirAllocator should not throw NPE with empty string configuration. Contributed by Zhihai Xu (zxu: rev 52c1f272ecb6c29c81898a1ff50d03a1296df1f7) * hadoop-common-project/hadoop-common/CHANGES.txt * hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/LocalDirAllocator.java * hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalDirAllocator.java > LocalDirAllocator should not throw NPE with empty string configuration. > ------------------------------------------------------------------------ > > Key: HADOOP-12252 > URL: https://issues.apache.org/jira/browse/HADOOP-12252 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Reporter: zhihai xu > Assignee: zhihai xu > Priority: Minor > Fix For: 2.8.0 > > Attachments: HADOOP-12252.000.patch > > > LocalDirAllocator should not throw NPE with empty string configuration. When an empty string is configured, {{LocalDirAllocator}} will throw NPE. It will be better to throw IOException instead of NPE. -- This message was sent by Atlassian JIRA (v6.3.4#6332)