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 Tue, 30 Sep 2014 02:46:34 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:
--------------------------------------
    Hadoop Flags: Reviewed

+1 patch looks good.  Thanks for fixing it!

> 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
>            Reporter: Prabushankar Chinnasamy
>            Assignee: Jing Zhao
>         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)

Mime
View raw message