ArticleslgStudy

computer science

Apache HBase

Apache HBase is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Apache HBase rather than just read about it. In short: 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.

Apache HBase — main illustration
Apache HBase — illustration

Key takeaways

  • Apache HBase belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Apache HBase to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Apache HBase from memory before moving on to harder problems.

Reference excerpt

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. 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 but Facebook's Messaging Platform migrated from HBase to MyRocks in 2018. 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.5.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

NoSQL Wide column store Bigtable Apache Cassandra Oracle NOSQL Hypertable Apache Accumulo MongoDB Project Voldemort Riak Sqoop Elasticsearch Apache Phoenix

References

Bibliography

External links Official Apache HBase homepage

Worked examples

Example 1 — a first encounter with Apache HBase

Start with the simplest possible case. Write down what Apache HBase claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Apache HBase before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Apache HBase ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Apache HBase

In research
Apache HBase appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Apache HBase in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Apache HBase is common in secondary-school and first-year university syllabi. It links to neighbouring topics Apache Hadoop, Apache Software Foundation projects, Bigtable implementations, so understanding it makes those chapters shorter.
In everyday life
Look for Apache HBase outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Apache HBase” →

How to study Apache HBase in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Apache HBase means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Apache HBase out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Apache HBase in simple terms?

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 fo…

Why does Apache HBase matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Apache HBase?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Apache HBase.

Tags

  • Apache Hadoop
  • Apache Software Foundation projects
  • Bigtable implementations
  • Distributed data stores
  • Free database management systems
  • Free software programmed in Java
  • NoSQL
  • Software using the Apache license
  • Structured storage

Keep exploring