Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 48743 invoked from network); 10 Sep 2009 21:37:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Sep 2009 21:37:21 -0000 Received: (qmail 67002 invoked by uid 500); 10 Sep 2009 21:37:20 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 66911 invoked by uid 500); 10 Sep 2009 21:37:20 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 66654 invoked by uid 99); 10 Sep 2009 21:37:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 21:37:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 21:37:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8C1BE234C498 for ; Thu, 10 Sep 2009 14:36:57 -0700 (PDT) Message-ID: <721025806.1252618617573.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 14:36:57 -0700 (PDT) From: "Aaron Kimball (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-968) NPE in distcp encountered when placing _logs directory on S3FileSystem In-Reply-To: <418769557.1252618377520.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron Kimball updated MAPREDUCE-968: ------------------------------------ Status: Patch Available (was: Open) > NPE in distcp encountered when placing _logs directory on S3FileSystem > ---------------------------------------------------------------------- > > Key: MAPREDUCE-968 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-968 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: distcp > Affects Versions: 0.20.1 > Reporter: Aaron Kimball > Assignee: Aaron Kimball > Attachments: MAPREDUCE-968.patch > > > If distcp is pointed to an empty S3 bucket as the destination for an s3:// filesystem transfer, it will fail with the following exception > Copy failed: java.lang.NullPointerException > at org.apache.hadoop.fs.s3.S3FileSystem.makeAbsolute(S3FileSystem.java:121) > at org.apache.hadoop.fs.s3.S3FileSystem.getFileStatus(S3FileSystem.java:332) > at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:633) > at org.apache.hadoop.tools.DistCp.setup(DistCp.java:1005) > at org.apache.hadoop.tools.DistCp.copy(DistCp.java:650) > at org.apache.hadoop.tools.DistCp.run(DistCp.java:857) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) > at org.apache.hadoop.tools.DistCp.main(DistCp.java:884) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.