hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Srinivas <sur...@hortonworks.com>
Subject Re: What is the difference between Hdfs and DistributedFileSystem?
Date Mon, 13 Jan 2014 19:22:04 GMT
Hadoop has two sets of APIs:
- FileSystem.java - this is the older API and more widely used. This
defines both the application API and the API that the concrete file systems
must implement (such as DistributedFileSystem, LocalFileSystem,
ChecksumFileSystem etc.)
- FileContext.java and AbstractFileSystem.java - these are new APIs. The
goal was to divide the Hadoop API into two - application API in
FileContext.java and file system implementation interface
AbstractFileSystem.java. More details -

Hdfs.java is the newer implementation of AbstractFileSystem.java.
DistributedFileSystem.java implements the older API FileSystem.java.

On Mon, Jan 13, 2014 at 3:31 AM, 梁李印 <liyin.liangly@aliyun-inc.com> wrote:

> What is the difference between Hdfs.java and DistributedFileSystem.java in
> Hadoop2?
> Best Regards,
> Liyin Liang
> Tel: 78233
> Email: liyin.liangly@alibaba-inc.com


NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

View raw message