Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Re: FileStatus.getPath


Copy link to this message
-
Re: FileStatus.getPath
The FileStatus is a container of metadata for a specific path, and
hence carries the Path object the rest of the details are for.

What do you exactly mean by "has no defined contract"? If you want a
qualified path (for a specific FS), then doing "path.makeQualified(…)"
is always the right way.

On Tue, Mar 5, 2013 at 11:31 PM, Jay Vyas <[EMAIL PROTECTED]> wrote:
> Hi it appears that:
>
> http://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/FileStatus.html
>
> getPath()
>
> has no defined contract.
>
> Why does FileStatus have a "getPAth" method?  Would it be the equivalent
> effect to
> simply make a path qualified using the FileSystem object?
>
> i.e. path.makeQualified(FileSystem.get()) ?
>
> --
> Jay Vyas
> http://jayunit100.blogspot.com

--
Harsh J
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB