Skip to content

Instantly share code, notes, and snippets.

@bunsenmcdubbs
Last active February 19, 2021 22:34
Show Gist options
  • Save bunsenmcdubbs/a6a3c328f30fef869b2379853addb430 to your computer and use it in GitHub Desktop.
Save bunsenmcdubbs/a6a3c328f30fef869b2379853addb430 to your computer and use it in GitHub Desktop.
Installing HBase v2.3.4 Standalone

Installing:

  • HBase 2.3.4 (current stable version)

On

  • MacOS 10.14
  • Homebrew is available
  • Java 8 and 11 installed (either system Java and/or installed via homebrew... not sure...)

Generally following instructions from https://hbase.apache.org/book.html#quickstart. Interesting notes and specific suggestions:

Fuller guide:

  1. Install Java 8 JDK via homebrew brew cask install homebrew/cask-versions/adoptopenjdk8
  2. Download and unzip hbase-2.3.4-bin.tar.gz from the stable folder in the first link: https://www.apache.org/dyn/closer.lua/hbase/
  3. Configure env vars for HBase (Java 8 home dir) export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
  4. Start HBase with ./bin/start-hbase.sh
  5. Success?! View the admin interface at http://localhost:16010
  6. Connect to HBase via shell ./bin/hbase shell
  7. Success?!? Do your HBase thing
  8. Stop HBase. ./bin/stop-hbase.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment