Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to install hbase on Ubuntu 9.04?

share|improve this question

migrated from Jan 24 '10 at 17:33

This question came from our site for system and network administrators.

StackOverflow is a site meant for programming related questions, not for installing programs. – monksy Jan 24 '10 at 7:55
ServerFault is a site meant for system administrators and IT professionals related questions, not for installing programs. Use for that. – Josh Brower Jan 24 '10 at 17:00

You can install HBase in 3 modes: standalone, pseudo distributed and fully distributed.

Standalone mode is a much simplified installation, that only allows client code running on the same machine to connect. This is useful where, for example, you want to make a quick install of HBase on the workstation on which you are developing HBase client code.

Pseudo distributed mode is a "normal" HBase installation that runs on a single node cluster. This will allow you to install HBase on a single server in your office or data centre, for example, and then for client code running on multiple workstations to connect to it. This is clearly better in team development environments, but is arguably also better for single developer scenarios (where the server and client code are on the same workstation) because the developer can examine and consider all the system components that will be present in a production system.

Fully distributed mode is typically used in production environments, or for later stage benchmarking of a developed application, for example on EC2, and involves HBase running on multiple nodes.

In order to run HBase in pseudo or fully distributed modes, you must also install hadoop. hadoop is a distributed file system originally developed by Yahoo. HBase stores chunks of data in files, which it writes to hadoop. hadoop then takes care of replicating/distributing this data.

Because of the close relationship between HBase and hadoop, both systems must be installed correctly. The installation process may include making certain necessary changes to the default Ubuntu (or other server) configuration, as well as the software.

A quick guide on setting up HBase in pseudo distributed mode on Ubuntu is provided here

share|improve this answer
Good answer, it clears up a lot. I know this post is a little over a year old, however, it should be mentioned even the author of the link you provided, says that they switched to Cassandra due to the complexities of the initial setup. Perhaps Cloudera makes installation simpler? – Doug Molineux Mar 8 '11 at 4:06

Robert Berger has a detailed post on his blog. Check it out.

share|improve this answer

Maybe the following article would help you to solve problems. Good luck!

Experience installing Hbase 0.20.0 Cluster on Ubuntu 9.04 and EC2

share|improve this answer

You must log in to answer this question.