HdfsFileStatus.getLocalName() returns an empty string when listing a full file 
path.
------------------------------------------------------------------------------------

                 Key: HDFS-1743
                 URL: https://issues.apache.org/jira/browse/HDFS-1743
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs client, name-node
            Reporter: Tsz Wo (Nicholas), SZE


If a {{HdfsFileStatus}} is obtained through {{DFSClient.listPaths(..)}}, then 
{{HdfsFileStatus.getLocalName()}} returns the file name.

However, if a {{HdfsFileStatus}} is obtained using 
{{DFSClient.getFileInfo(..)}}, then {{HdfsFileStatus.getLocalName()}} returns 
an empty string.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to