How to install hbase on Ubuntu 9.04?
3 Answers
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 http://ria101.wordpress.com/2010/01/28/setup-hbase-in-pseudo-distributed-mode-and-connect-java-client/
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