hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7167) NPE while running Mover if the given path is for a file
Date Wed, 01 Oct 2014 11:35:45 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154689#comment-14154689

Hudson commented on HDFS-7167:

FAILURE: Integrated in Hadoop-Yarn-trunk #697 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/697/])
HDFS-7167. NPE while running Mover if the given path is for a file. Contributed by Jing Zhao.
(jing9: rev cdf1af0e5a21361924f3f7c6cea5170767d2b6bc)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/mover/TestStorageMover.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/mover/Mover.java

> 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
>             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