Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
If a HdfsFileStatus of a file is obtained through FSDirectory.getListing(..) on a directory, then HdfsFileStatus.getLocalName() returns the file name.
However, if a HdfsFileStatus is obtained using FSDirectory.getFileInfo(..) or FSDirectory.getListing(..) by giving a full path of a file, then HdfsFileStatus.getLocalName() returns an empty string.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-7018 FileContext's list operation should return local names in the status object rather then the full path.
- Open