how to fetch data from hdfs to hbase and vice verca??

how hdfs and hbase do interaction?? means how to fetch data from hdfs to hbase and how to insert data from hbase into hdfs????

2 Answer(s)


Hi Aditya,
One can store the data in HDFS either directly or through HBase. Data consumer reads/accesses the data in HDFS randomly using HBase. HBase sits on top of the HDFS and provides read and write access.
The data is already store in hdfs by hbase or vice versa.

To upload the bulk data into Hbase directory, you can use data migratory tool like sqoop to directly upload the data into hbase format.

Hope this helps.


thx abhijit

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)