Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Thanks to Prabushankar Chinnasamy 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.