You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org> on 2011/03/08 10:57:59 UTC
[jira] Created: (HADOOP-7174) null is displayed in the console,if
the src path is invalid while doing copyToLocal operation from commandLine
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
Reporter: Uma Maheswara Rao G
Priority: Minor
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
[jira] [Updated] (HADOOP-7174) null is displayed in the console,if
the src path is invalid while doing copyToLocal operation from commandLine
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-7174:
-------------------------------------------
Resolution: Fixed
Fix Version/s: 0.23.0
0.22.0
0.21.1
Release Note: (was: Patch provided)
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I have committed this. Thanks, Uma!
Also, thanks Daryn for reviewing it.
> 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
[jira] [Commented] (HADOOP-7174) null is displayed in the
console,if the src path is invalid while doing copyToLocal operation from
commandLine
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011157#comment-13011157 ]
Hudson commented on HADOOP-7174:
--------------------------------
Integrated in Hadoop-Common-trunk #641 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk/641/])
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
[jira] Updated: (HADOOP-7174) null is displayed in the console,if
the src path is invalid while doing copyToLocal operation from commandLine
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uma Maheswara Rao G updated HADOOP-7174:
----------------------------------------
Attachment: HADOOP-7174.patch
> 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
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Priority: Minor
> Attachments: 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
[jira] [Commented] (HADOOP-7174) null is displayed in the
console,if the src path is invalid while doing copyToLocal operation from
commandLine
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011316#comment-13011316 ]
Uma Maheswara Rao G commented on HADOOP-7174:
---------------------------------------------
Thanks Nicholas, i addressed this.
I prepared the patch , will upload it in HDFS.
> 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
[jira] [Commented] (HADOOP-7174) null is displayed in the
console,if the src path is invalid while doing copyToLocal operation from
commandLine
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010695#comment-13010695 ]
Daryn Sharp commented on HADOOP-7174:
-------------------------------------
+1
> 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
> 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
[jira] Assigned: (HADOOP-7174) null is displayed in the console,if
the src path is invalid while doing copyToLocal operation from commandLine
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uma Maheswara Rao G reassigned HADOOP-7174:
-------------------------------------------
Assignee: 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
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Priority: Minor
>
> 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
[jira] Updated: (HADOOP-7174) null is displayed in the console,if
the src path is invalid while doing copyToLocal operation from commandLine
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uma Maheswara Rao G updated HADOOP-7174:
----------------------------------------
Release Note: Patch provided
Status: Patch Available (was: Open)
> 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
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Priority: Minor
> Attachments: 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
[jira] [Commented] (HADOOP-7174) null is displayed in the
console,if the src path is invalid while doing copyToLocal operation from
commandLine
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010772#comment-13010772 ]
Hadoop QA commented on HADOOP-7174:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12474506/HADOOP-7174.1.patch
against trunk revision 1084769.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 4 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
+1 system test framework. The patch passed system test framework compile.
Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/318//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/318//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/318//console
This message is automatically generated.
> 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
> 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
[jira] [Commented] (HADOOP-7174) null is displayed in the
console,if the src path is invalid while doing copyToLocal operation from
commandLine
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010228#comment-13010228 ]
Daryn Sharp commented on HADOOP-7174:
-------------------------------------
Looks good. Two comments:
1) I'd suggest throwing a more posix error string like srcPath + ": No such file or directory"
2) Should test the exit code of shell.run() to ensure it's non-zero upon failure. If it happens to return 0, and it's a non-trivial fix, I'm universally addressing it via HADOOP-7176.
> 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
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Priority: Minor
> Attachments: 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
[jira] [Commented] (HADOOP-7174) null is displayed in the
console,if the src path is invalid while doing copyToLocal operation from
commandLine
Posted by "Hudson (JIRA)" <ji...@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
[jira] [Commented] (HADOOP-7174) null is displayed in the
console,if the src path is invalid while doing copyToLocal operation from
commandLine
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011310#comment-13011310 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-7174:
------------------------------------------------
Hi Uma, some tests in HDFS failed after this; see {{HDFS-1786}}. Could you fix them as well?
> 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
[jira] [Commented] (HADOOP-7174) null is displayed in the
console,if the src path is invalid while doing copyToLocal operation from
commandLine
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010792#comment-13010792 ]
Hudson commented on HADOOP-7174:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #534 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/534/])
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
[jira] [Updated] (HADOOP-7174) null is displayed in the console,if
the src path is invalid while doing copyToLocal operation from commandLine
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uma Maheswara Rao G updated HADOOP-7174:
----------------------------------------
Attachment: HADOOP-7174.1.patch
> 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
> 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
[jira] [Updated] (HADOOP-7174) null is displayed in the console,if
the src path is invalid while doing copyToLocal operation from commandLine
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HADOOP-7174:
--------------------------------
Fix Version/s: (was: 0.21.1)
This wasn't committed to branch-21 -- removing 0.21 fixversion.
> 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.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
[jira] [Updated] (HADOOP-7174) null is displayed in the console,if
the src path is invalid while doing copyToLocal operation from commandLine
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (HADOOP-7174) null is displayed in the console,if
the src path is invalid while doing copyToLocal operation from commandLine
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-7174:
-------------------------------------------
Component/s: fs
> 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
> Attachments: 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