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
Hadoop >> mail # user >> Re: What is the difference between Hdfs and DistributedFileSystem?


Copy link to this message
-
Re: What is the difference between Hdfs and DistributedFileSystem?
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 -
https://issues.apache.org/jira/browse/HADOOP-4952.

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, 梁李印 <[EMAIL PROTECTED]> wrote:

> What is the difference between Hdfs.java and DistributedFileSystem.java in
> Hadoop2?
>
>
>
> Best Regards,
>
> Liyin Liang
>
>
>
> Tel: 78233
>
> Email: [EMAIL PROTECTED]
>
>
>

--
http://hortonworks.com/download/

--
CONFIDENTIALITY NOTICE
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.
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