FAQ
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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedMar 10, '11 at 12:13a
activeMar 10, '11 at 12:13a
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Tsz Wo (Nicholas), SZE (JIRA): 1 post

People

Translate

site design / logo © 2021 Grokbase