Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 72449 invoked from network); 24 Mar 2011 21:50:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2011 21:50:46 -0000 Received: (qmail 9134 invoked by uid 500); 24 Mar 2011 21:50:46 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 9094 invoked by uid 500); 24 Mar 2011 21:50:46 -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 9086 invoked by uid 99); 24 Mar 2011 21:50:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 21:50:46 +0000 X-ASF-Spam-Status: No, hits=-1999.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 21:50:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 54E3B4C4C4 for ; Thu, 24 Mar 2011 21:50:06 +0000 (UTC) Date: Thu, 24 Mar 2011 21:50:06 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1785402758.9888.1301003406344.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1627211432.4057.1299578279558.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7174) null is displayed in the console,if the src path is invalid while doing copyToLocal operation from commandLine 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/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010953#comment-13010953 ] Hudson commented on HADOOP-7174: -------------------------------- Integrated in Hadoop-Common-22-branch #36 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-22-branch/36/]) HADOOP-7174. Null is displayed in the "fs -copyToLocal" command. Contributed by Uma Maheswara Rao G > null is displayed in the console,if the src path is invalid while doing copyToLocal operation from commandLine > -------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-7174 > URL: https://issues.apache.org/jira/browse/HADOOP-7174 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Reporter: Uma Maheswara Rao G > Assignee: Uma Maheswara Rao G > Priority: Minor > Fix For: 0.21.1, 0.22.0, 0.23.0 > > Attachments: HADOOP-7174.1.patch, HADOOP-7174.patch > > > When we perform copyToLocal operations from commandLine and if src Path is invalid > srcFS.globStatus(srcpath) will return null. So, when we find the length of resulted value, it will *throw NullPointerException*. > Since we are handling generic exception , it will display null as the message. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira