Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to HBase


Published on

This presentation covers the following topics:

1. HBase versions and origins
2. HBase core concepts
3. HBase vs. RDBMS
4. Data Modeling
5. HBase architecture
6. HBase Master and Region Servers
7. Column Families and Regions
8. HBase Internals: Bloom Filters and Block Indexes
9. Write Pipeline / Read Pipeline
10. Compactions
11. Learning Resources

Published in: Technology

Introduction to HBase

  1. 1. @avkashchauhan
  2. 2. [HBASE-3996][HBASE-5416][HBASE-7757][HBASE-7748][HBASE-6669][HBASE-7728]
  3. 3. S = supported and tested,X = not supported,NT = it should run, but not tested enough.
  4. 4.
  5. 5. Name HBase RDBMSDatabase model Wide column store (BigTable Concept) Relational DBMSData scheme schema-free yesTyping no yesSecondary indexes no yesSQL no yesTriggers yes yesReplication methods selectable replication factor Master-master replication Master-slave replicationConsistency concepts Immediate ConsistencyForeign keys no yesTransaction concepts no ACIDConcurrency yes yesDurability yes yes
  6. 6. Row Key Time Stamp ColumnFamily contents ColumnFamily anchor = "com.cnn.www" t9 "CNN" = "com.cnn.www" t8 "" "com.cnn.www" t6 contents:html = "<html>..." "com.cnn.www" t5 contents:html = "<html>..." "com.cnn.www" t3 contents:html = "<html>..." Time TimeRow Key Column Family anchor Row Key ColumnFamily "contents:" Stamp Stamp"com.cnn.www" t9 = "CNN" "com.cnn.www" t6 contents:html = "<html>...""com.cnn.www" t8 = "" "com.cnn.www" t5 contents:html = "<html>..." "com.cnn.www" t3 contents:html = "<html>..."
  7. 7.
  8. 8. To view a textualized version of hfile content, you can do tool.Type the following to see usage: $ ${HBASE_HOME}/bin/hbase example, to view the content of thefilehdfs://, type the following:$ ${HBASE_HOME}/bin/hbase -v -fhdfs:// you leave off the option -v to see just a summary on the hfile.
  9. 9. Burton Howard Bloom [1] probabilistic data structure element set
  10. 10.
  11. 11.
  12. 12.
  13. 13. $ git diff hbase-env.shdiff --git a/conf/ b/conf/hbase-env.shindex e70ebc6..96f8c27 100644--- a/conf/ b/conf/ -31,7 +31,7 @@ export JAVA_HOME=/usr/lib//jvm/java-6-sun/# export HBASE_CLASSPATH=# The maximum amount of heap to use, in MB. Default is 1000.-# export HBASE_HEAPSIZE=1000+export HBASE_HEAPSIZE=8192# Extra Java runtime options.# Below are what we set by default. May only work with SUN JVM.
  14. 14.