You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/03/02 17:56:06 UTC
[jira] [Updated] (HDFS-7167) NPE while running Mover if the given
path is for a file
[ https://issues.apache.org/jira/browse/HDFS-7167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated HDFS-7167:
-----------------------------------
Fix Version/s: (was: 3.0.0)
> NPE while running Mover if the given path is for a file
> -------------------------------------------------------
>
> Key: HDFS-7167
> URL: https://issues.apache.org/jira/browse/HDFS-7167
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: balancer & mover
> Reporter: Prabushankar Chinnasamy
> Assignee: Jing Zhao
> Fix For: 2.6.0
>
> Attachments: HDFS-7167.000.patch
>
>
> Thanks to [~prabushankar.c] for reporting this issue!
> Currently in the new migration tool Mover, we allow users to specify a list of paths for migration. Then in {{Mover#processNamespace}} we directly call {{getFileInfo}} to retrieve the status of the given path. If the given path is a file, the returned HdfsFileStatus does not contain block location information, this can trigger an NPE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)