Software:Apache HBase

From HandWiki
Short description: Open-source distributed database
Apache HBase
Apache HBase Logo.svg
Original author(s)Powerset
Developer(s)Apache Software Foundation
Initial release28 March 2008; 16 years ago (2008-03-28)
Stable release
2.4.x2.4.14 / 29 August 2022; 22 months ago (2022-08-29)[1]
2.5.x2.5.3 / 5 February 2023; 17 months ago (2023-02-05)[1]
Preview release
3.0.0-alpha-3 / 27 June 2022; 2 years ago (2022-06-27)[1]
RepositoryGitHub Repository, Gitbox 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 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.[4]

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

References

  1. 1.0 1.1 1.2 "Apache HBase – Apache HBase Downloads". https://hbase.apache.org/downloads.html. 
  2. Chang, et al. (2006). Bigtable: A Distributed Storage System for Structured Data
  3. "Apache HBase – Powered By Apache HBase". http://hbase.apache.org/poweredbyhbase.html. 
  4. 4.0 4.1 "Migrating Messenger storage to optimize performance". 26 June 2018. https://code.fb.com/data-infrastructure/migrating-messenger-storage-to-optimize-performance/. 
  5. Facebook: Why our 'next-gen' comms ditched MySQL Retrieved: 17 December 2010
  6. HBaseCon (2 August 2016). "Apache HBase at Airbnb". http://www.slideshare.net/HBaseCon/apache-hbase-at-airbnb. 
  7. "Near Real Time Search Indexing". https://link.medium.com/eVl4l3XRTvb. 
  8. "Is data locality always out of the box in Hadoop?". https://link.medium.com/72m6gLvSTvb. 
  9. "Why Imgur Dropped MySQL in Favor of HBase - DZone Database". https://dzone.com/articles/why-imgur-dropped-mysql-in-favor-of-hbase. 
  10. "Tech Tuesday: Imgur Notifications: From MySQL to HBase - The Imgur Blog". http://blog.imgur.com/2015/09/15/tech-tuesday-imgur-notifications-from-mysql-to-hbase/. 
  11. Doyung Yoon. "S2Graph : A Large-Scale Graph Database with HBase". http://apachebigdata2015.sched.org/event/de6abfbd8f0b9e66b1c03feb2b9e2078?iframe=yes&w=i:100;&sidebar=yes&bg=no. 
  12. Cheolsoo Park and Ashwin Shankar. "Netflix: Integrating Spark at Petabyte Scale". http://apachebigdata2015.sched.org/event/2a65daf0baa4cfbc227a8cb74a9103a2?iframe=no&w=i:100;&sidebar=yes&bg=no. 
  13. Engineering, Pinterest (2018-03-30). "Improving HBase backup efficiency at Pinterest" (in en). https://medium.com/pinterest-engineering/improving-hbase-backup-efficiency-at-pinterest-86159da4b954. 
  14. "Hbase at Salesforce.com". https://www.slideshare.net/salesforceeng/hbase-at-salesforcecom. 
  15. Josh Baer. "How Apache Drives Spotify's Music Recommendations". http://apachebigdata2015.sched.org/event/2a65daf0baa4cfbc227a8cb74a9103a2?iframe=no&w=i:100;&sidebar=yes&bg=no. 
  16. "Tuenti Group Chat: Simple, yet complex". http://corporate.tuenti.com/en/dev/blog/tuenti-group-chat-simple-yet-complex. 
  17. "Tuenti Asyncthrift". 6 November 2013. https://github.com/tuenti/asyncthrift. 

Bibliography

External links