Jump to content

Apache HBase

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Kchanyr (talk | contribs) at 03:50, 10 September 2019. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Apache HBase
Developer(s)Apache Software Foundation
Initial releaseMarch 28, 2008; 16 years ago (2008-03-28)
Stable release
1.3.x1.3.5 / 10 June 2019; 5 years ago (2019-06-10)[1]
1.4.x1.4.10 / 10 June 2019; 5 years ago (2019-06-10)[1]
2.0.x2.0.6 / 19 August 2019; 5 years ago (2019-08-19)[1]
2.1.x2.1.6 / 30 August 2019; 5 years ago (2019-08-30)[1]
2.2.x2.2.0 / 11 June 2019; 5 years ago (2019-06-11)[1]
RepositoryHBase Repository
Written inJava
Operating systemCross-platform
TypeDistributed database
LicenseApache License 2.0
Websitehbase.apache.org

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 column-oriented key-value data 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 faster 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 recently migrated from HBase to MyRocks.[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. It is now a top-level Apache project.[6]

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

As of February 2017, the 1.2.x series is the current stable release line.

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

References

  1. ^ a b c d e "Apache HBase – Apache HBase Downloads". Retrieved 7 September 2019.
  2. ^ Chang, et al. (2006). Bigtable: A Distributed Storage System for Structured Data
  3. ^ "Apache HBase – Powered By Apache HBase™". hbase.apache.org. Retrieved 8 April 2018.
  4. ^ a b "Migrating Messenger storage to optimize performance". www.facebook.com. Retrieved 5 July 2018.
  5. ^ Facebook: Why our 'next-gen' comms ditched MySQL Retrieved: 17 December 2010
  6. ^ "Brief Look on Apache Hbase". Retrieved 26 December 2017.
  7. ^ HBaseCon (2 August 2016). "Apache HBase at Airbnb". slideshare.net. Retrieved 8 April 2018.
  8. ^ "Why Imgur Dropped MySQL in Favor of HBase - DZone Database". dzone.com. Retrieved 8 April 2018.
  9. ^ "Tech Tuesday: Imgur Notifications: From MySQL to HBase - The Imgur Blog". blog.imgur.com. Retrieved 8 April 2018.
  10. ^ Doyung Yoon. "S2Graph : A Large-Scale Graph Database with HBase".
  11. ^ Cheolsoo Park and Ashwin Shankar. "Netflix: Integrating Spark at Petabyte Scale".
  12. ^ "Hbase at Salesforce.com".
  13. ^ Josh Baer. "How Apache Drives Spotify's Music Recommendations".
  14. ^ "Tuenti Group Chat: Simple, yet complex".
  15. ^ "Tuenti Asyncthrift".

Bibliography