From hdfs-issues-return-249220-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Sat Jan 26 01:58:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 44F4D180608 for ; Sat, 26 Jan 2019 01:58:04 +0100 (CET) Received: (qmail 22012 invoked by uid 500); 26 Jan 2019 00:58:03 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 22001 invoked by uid 99); 26 Jan 2019 00:58:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jan 2019 00:58:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A04B9C2872 for ; Sat, 26 Jan 2019 00:58:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id CyrTKgUDh6i2 for ; Sat, 26 Jan 2019 00:58:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0C8A26100F for ; Sat, 26 Jan 2019 00:58:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 91676E268F for ; Sat, 26 Jan 2019 00:58:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 449EE2431C for ; Sat, 26 Jan 2019 00:58:00 +0000 (UTC) Date: Sat, 26 Jan 2019 00:58:00 +0000 (UTC) From: "Hanisha Koneru (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDDS-1013) NPE while listing directories 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/HDDS-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hanisha Koneru updated HDDS-1013: --------------------------------- Attachment: HDDS-1013.002.patch > NPE while listing directories > ----------------------------- > > Key: HDDS-1013 > URL: https://issues.apache.org/jira/browse/HDDS-1013 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: Ozone Filesystem > Reporter: Arpit Agarwal > Assignee: Hanisha Koneru > Priority: Blocker > Attachments: HDDS-1013.001.patch, HDDS-1013.002.patch > > > The following sequence of steps on a fresh ozone install results in an NPE: > {code} > hadoop@50ddd1e1b186:~$ ozone sh volume create /volume1 > 2019-01-25 20:42:55 INFO RpcClient:257 - Creating Volume: volume1, with hadoop as owner and quota set to 1152921504606846976 bytes. > hadoop@50ddd1e1b186:~$ ozone sh bucket create /volume1/bucket1 > 2019-01-25 20:43:20 INFO RpcClient:386 - Creating Bucket: volume1/bucket1, with Versioning false and Storage Type set to DISK > hadoop@50ddd1e1b186:~$ ozone fs -fs o3fs://bucket1.volume1/ -mkdir /dir1 > hadoop@50ddd1e1b186:~$ ozone fs -fs o3fs://bucket1.volume1/ -mkdir /dir2 > hadoop@50ddd1e1b186:~$ ozone fs -fs o3fs://bucket1.volume1/ -mkdir /dir1/dir11 > hadoop@50ddd1e1b186:~$ ozone fs -fs o3fs://bucket1.volume1/ -mkdir /dir2/dir21 > hadoop@50ddd1e1b186:~$ ozone fs -fs o3fs://bucket1.volume1/ -ls / > -ls: Fatal internal error > java.lang.NullPointerException > at org.apache.hadoop.fs.ozone.OzoneFileSystem.innerGetFileStatusForDir(OzoneFileSystem.java:708) > at org.apache.hadoop.fs.ozone.OzoneFileSystem$ListStatusIterator.addSubDirStatus(OzoneFileSystem.java:553) > at org.apache.hadoop.fs.ozone.OzoneFileSystem$ListStatusIterator.processKey(OzoneFileSystem.java:530) > at org.apache.hadoop.fs.ozone.OzoneFileSystem$OzoneListingIterator.iterate(OzoneFileSystem.java:885) > at org.apache.hadoop.fs.ozone.OzoneFileSystem.listStatus(OzoneFileSystem.java:594) > at org.apache.hadoop.fs.shell.PathData.getDirectoryContents(PathData.java:269) > at org.apache.hadoop.fs.shell.Command.recursePath(Command.java:439) > at org.apache.hadoop.fs.shell.Ls.processPathArgument(Ls.java:226) > at org.apache.hadoop.fs.shell.Command.processArgument(Command.java:286) > at org.apache.hadoop.fs.shell.Command.processArguments(Command.java:270) > at org.apache.hadoop.fs.shell.FsCommand.processRawArguments(FsCommand.java:120) > at org.apache.hadoop.fs.shell.Command.run(Command.java:177) > at org.apache.hadoop.fs.FsShell.run(FsShell.java:327) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90) > at org.apache.hadoop.fs.FsShell.main(FsShell.java:390) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org