HDFS VS HBase

The below tables gives the difference betweek HDFS and HBase

HDFS HBase
HDFS is a distributed file system suitable for storing large file. HBase is NoSQL database built on top of the HDFS.
It doesn’t support fast individual record lookups It provides fast lookups for large tables.
It provides high latency batch processing It internally uses Hash Tables and provides random access, and it stores the data in indexed HDFS files files for faster lookups.
It stores its data as flat files HBase stores data in the form of key/value pairs in a columnar wise