Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 30863 invoked from network); 5 Feb 2010 22:08:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2010 22:08:49 -0000 Received: (qmail 66253 invoked by uid 500); 5 Feb 2010 22:08:49 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 66190 invoked by uid 500); 5 Feb 2010 22:08:49 -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 66109 invoked by uid 99); 5 Feb 2010 22:08:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 22:08:49 +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; Fri, 05 Feb 2010 22:08:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F0CAA29A0030 for ; Fri, 5 Feb 2010 14:08:27 -0800 (PST) Message-ID: <1964116495.82201265407707985.JavaMail.jira@brutus.apache.org> Date: Fri, 5 Feb 2010 22:08:27 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1399) The archive command shows a null error message In-Reply-To: <1297831772.15601264197261669.JavaMail.jira@brutus.apache.org> 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/MAPREDUCE-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830324#action_12830324 ] Tsz Wo (Nicholas), SZE commented on MAPREDUCE-1399: --------------------------------------------------- After applied m1399_20100204.patch, it shows a NPE for the following. {noformat} -bash-3.1$ hadoop archive -archiveName foo.har -p . foo . Exception in archives java.lang.NullPointerException at org.apache.hadoop.tools.HadoopArchives.run(HadoopArchives.java:733) 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.HadoopArchives.main(HadoopArchives.java:752) {noformat} Here is the codes: {code} 732 FileStatus[] statuses = fs.globStatus(p); 733 for (FileStatus status: statuses) { 734 globPaths.add(fs.makeQualified(status.getPath())); 735 } {code} > The archive command shows a null error message > ---------------------------------------------- > > Key: MAPREDUCE-1399 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1399 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: harchive > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Mahadev konar > Fix For: 0.22.0 > > Attachments: m1399_20100204.patch, MAPREDUCE-1399.patch > > > {noformat} > bash-3.1$ hadoop archive -archiveName foo.har -p . foo . > Exception in archives > null > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.