What is the difference between hbase and hive? (Hadoop)

吃可爱长大的小学妹 提交于 2019-12-01 11:10:11

问题


From my understanding, Hbase is the Hadoop database and Hive is the data warehouse.

Hive allows to create tables and store data in it, you can also map your existing HBase tables to Hive and operate on them.

why we should use hbase if hive do all that? can we use hive by itself? I'm confused :(


回答1:


So in simple terms, with hive you can fire SQL like queries (with some exceptions) on your table/s and is used in batch operation. While with hbase, you can do real time querying and is based on key value pair.

"why we should use hbase if hive do all that? can we use hive by itself" Because Hive doesn't supports updating your data set. So if you have large analytical processing application use Hive and if you have real time get/set/update request processing, use Hbase.



来源:https://stackoverflow.com/questions/27815421/what-is-the-difference-between-hbase-and-hive-hadoop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!