hadoop-hdfs-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] (HDFS-7167) NPE while running Mover if the given path is for a file
Date Thu, 02 Oct 2014 21:01:35 GMT

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

Tsz Wo Nicholas Sze updated HDFS-7167:
    Component/s: balancer & mover

> 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: 3.0.0, 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

View raw message