Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 3559C183A1 for ; Wed, 30 Sep 2015 19:35:42 +0000 (UTC) Received: (qmail 52688 invoked by uid 500); 30 Sep 2015 19:35:26 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 52642 invoked by uid 500); 30 Sep 2015 19:35:26 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 52627 invoked by uid 99); 30 Sep 2015 19:35:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2015 19:35:26 +0000 Date: Wed, 30 Sep 2015 19:35:26 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-8368) Erasure Coding: DFS opening a non-existent file need to be handled properly 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/HDFS-8368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14938384#comment-14938384 ] Hudson commented on HDFS-8368: ------------------------------ FAILURE: Integrated in Hadoop-Mapreduce-trunk #2408 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2408/]) HDFS-8368. Erasure Coding: DFS opening a non-existent file need to be (zhezhang: rev 54d28275226e0bc3b0d46142ce20f74a52e66395) * hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java > Erasure Coding: DFS opening a non-existent file need to be handled properly > --------------------------------------------------------------------------- > > Key: HDFS-8368 > URL: https://issues.apache.org/jira/browse/HDFS-8368 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Rakesh R > Assignee: Rakesh R > Fix For: HDFS-7285 > > Attachments: HDFS-8368-HDFS-7285.00.patch > > > This jira to address bad exceptions when opening a non-existent file. It throws NPE as shown below: > {code} > java.lang.NullPointerException: null > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1184) > at org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:307) > at org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:303) > at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) > at org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:303) > at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:767) > at org.apache.hadoop.hdfs.TestDistributedFileSystem.testDFSClient(TestDistributedFileSystem.java:359) > at org.apache.hadoop.hdfs.TestDistributedFileSystem.testAllWithNoXmlDefaults(TestDistributedFileSystem.java:666) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)