hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7174) null is displayed in the console,if the src path is invalid while doing copyToLocal operation from commandLine
Date Wed, 30 Mar 2011 21:17:07 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tsz Wo (Nicholas), SZE updated HADOOP-7174:
-------------------------------------------

    Fix Version/s: 0.21.1

> This wasn't committed to branch-21 - removing 0.21 fixversion.

I have double checked.  This was indeed committed to 0.21.  See also [this comment|https://issues.apache.org/jira/browse/HDFS-1786?focusedCommentId=13012726&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13012726].

> 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

Mime
View raw message