Apache HBase explained

Apache HBase
Logo Size:300px
Author:Powerset
Developer:Apache Software Foundation
Latest Release Version:2.3.4-->
Latest Release Date:[1] -->
Latest Preview Version:3.0.0-alpha-3
Operating System:Cross-platform
Genre:Distributed database
Repo:,
Programming Language:Java
License:Apache License 2.0

HBase is an open-source non-relational distributed database modeled after Google's Bigtable and written in Java. It is developed as part of Apache Software Foundation's Apache Hadoop project and runs on top of HDFS (Hadoop Distributed File System) or Alluxio, providing Bigtable-like capabilities for Hadoop. That is, it provides a fault-tolerant way of storing large quantities of sparse data (small amounts of information caught within a large collection of empty or unimportant data, such as finding the 50 largest items in a group of 2 billion records, or finding the non-zero items representing less than 0.1% of a huge collection).

HBase features compression, in-memory operation, and Bloom filters on a per-column basis as outlined in the original Bigtable paper.[2] Tables in HBase can serve as the input and output for MapReduce jobs run in Hadoop, and may be accessed through the Java API but also through REST, Avro or Thrift gateway APIs. HBase is a wide-column store and has been widely adopted because of its lineage with Hadoop and HDFS. HBase runs on top of HDFS and is well-suited for fast read and write operations on large datasets with high throughput and low input/output latency.

HBase is not a direct replacement for a classic SQL database, however Apache Phoenix project provides a SQL layer for HBase as well as JDBC driver that can be integrated with various analytics and business intelligence applications. The Apache Trafodion project provides a SQL query engine with ODBC and JDBC drivers and distributed ACID transaction protection across multiple statements, tables and rows that use HBase as a storage engine.

HBase is now serving several data-driven websites[3] but Facebook's Messaging Platform migrated from HBase to MyRocks in 2018.[4] [5] Unlike relational and traditional databases, HBase does not support SQL scripting; instead the equivalent is written in Java, employing similarity with a MapReduce application.

In the parlance of Eric Brewer's CAP Theorem, HBase is a CP type system.

History

Apache HBase began as a project by the company Powerset out of a need to process massive amounts of data for the purposes of natural-language search. Since 2010 it is a top-level Apache project.

Facebook elected to implement its new messaging platform using HBase in November 2010, but migrated away from HBase in 2018.

The 2.4.x series is the current stable release line, it supersedes earlier release lines.

Use cases & production deployments

Enterprises that use HBase

The following is a list of notable enterprises that have used or are using HBase:

See also

Bibliography

External links

Notes and References

  1. Web site: Apache HBase – Apache HBase Downloads. 21 March 2021.
  2. http://db.usenix.org//events/osdi06/tech/chang/chang_html/ Chang, et al. (2006). Bigtable: A Distributed Storage System for Structured Data
  3. Web site: Apache HBase – Powered By Apache HBase. hbase.apache.org. 8 April 2018.
  4. Web site: Migrating Messenger storage to optimize performance. www.facebook.com. 26 June 2018 . 5 July 2018.
  5. https://www.theregister.co.uk/2010/12/17/facebook_messages_tech/ Facebook: Why our 'next-gen' comms ditched MySQL
  6. Web site: Apache HBase at Airbnb. HBaseCon. 2 August 2016. slideshare.net. 8 April 2018.
  7. Web site: Near Real Time Search Indexing. 4 January 2018 .
  8. Web site: Is data locality always out of the box in Hadoop?. 10 March 2018 .
  9. Web site: Why Imgur Dropped MySQL in Favor of HBase - DZone Database. dzone.com. 8 April 2018.
  10. Web site: Tech Tuesday: Imgur Notifications: From MySQL to HBase - The Imgur Blog. blog.imgur.com. 8 April 2018.
  11. Web site: S2Graph : A Large-Scale Graph Database with HBase . Doyung Yoon.
  12. Web site: Netflix: Integrating Spark at Petabyte Scale . Cheolsoo Park and Ashwin Shankar.
  13. Web site: Improving HBase backup efficiency at Pinterest. Engineering. Pinterest. 2018-03-30. Medium. en. 2020-04-14.
  14. Web site: Hbase at Salesforce.com.
  15. Web site: How Apache Drives Spotify's Music Recommendations . Josh Baer.
  16. Web site: Tuenti Group Chat: Simple, yet complex . 29 September 2015 . 24 November 2012 . https://web.archive.org/web/20121124132459/http://corporate.tuenti.com/en/dev/blog/tuenti-group-chat-simple-yet-complex . dead .
  17. Web site: Tuenti Asyncthrift. . 6 November 2013 .