Renukeswar
Renukeswar

Reputation: 597

Difference between hdfs and hbase

I am newbie in Hadoop.I am going through the Professional Hadoop Solutions book to gain some knowledge on Hadoop and ecosystem. I want to clarify what is main difference between HDFS and HBase. The way i understood is like both are storage System. They differ only in accessing the data.HBase access Data through NoSQL and HDFS process data with Computational Framework(MapReduce). If this is case why can't we can have only one storage either HDFS or HBase. Based in the requirement they will plugin and plug out the frameworks. My assumption might be wrong, It would be great if any one comment and provide correct relation between them.

Upvotes: 0

Views: 408

Answers (2)

Kumar
Kumar

Reputation: 3990

HDFS

  • Hadoop distributed File System for storage.
  • Follows write-once read-many architecture.
  • Cannot use it for real time as map-reduce takes some times to complete.

HBase

  • Key-pair Column oriented NoSQL database.
  • Built on top of HDFS.
  • Storage can be your local file system or HDFS.
  • Can use for real time data access.
  • See HBase official page for HDFS s HBASE

Look at this Answer

Upvotes: 2

Krishna Kalyan
Krishna Kalyan

Reputation: 1702

HBase has properties like inserts and updates (puts) which HDFS cannot provide. HDFS simply supports appends.

There are many reasons for using either HDFS and HBase.

Upvotes: 0

Related Questions