You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2006/12/11 20:02:22 UTC
[jira] Commented: (HADOOP-812) Make DfsPath a public class
[ http://issues.apache.org/jira/browse/HADOOP-812?page=comments#action_12457440 ]
Doug Cutting commented on HADOOP-812:
-------------------------------------
Why can't you simply use fs.getLength(Path)? The DistributedFileSystem implementation, when passed a DFSPath, returns the cached length.
> Make DfsPath a public class
> ---------------------------
>
> Key: HADOOP-812
> URL: http://issues.apache.org/jira/browse/HADOOP-812
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assigned To: dhruba borthakur
> Attachments: dfspathpublic.patch
>
>
> I would like to get the filesize of a particular HDFS file from an external program. This functionality is exported through the DfsPath class. I would like to make this class a public class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira