Cloudera Enterprise 6.0 Beta | Other versions

HBase Installation

Apache HBase provides large-scale tabular storage for Hadoop using the Hadoop Distributed File System (HDFS). Cloudera recommends installing HBase in a standalone mode before you try to run it on a whole cluster.

  Note: Install Cloudera Repository
Before using the instructions on this page to install or upgrade:
  • Install the Cloudera yum, zypper/YaST or apt repository.
  • Install or upgrade CDH 6 and make sure it is functioning correctly.
For instructions, see Installing the Latest CDH 6 Release and Upgrading Unmanaged CDH Using the Command Line.
  Note: Running Services

Use the service command to start, stop, and restart CDH components, instead of running scripts in /etc/init.d directly. The service command creates a predictable environment by setting the current working directory to / and removing most environment variables (passing only LANG and TERM). With /etc/init.d, existing environment variables remain in force and can produce unpredictable results. When you install CDH from packages, service is installed as part of the Linux Standard Base (LSB).

Use the following sections to install, update, and configure HBase:

    Next Steps

    After installing and configuring HBase, check out the following topics about using HBase:

    Installing HBase

    To install HBase On RHEL-compatible systems:

    $ sudo yum install hbase

    To install HBase on Ubuntu and Debian systems:

    $ sudo apt-get install hbase

    To install HBase on SLES systems:

    $ sudo zypper install hbase
      Note: See also Starting HBase in Standalone Mode, Configuring HBase in Pseudo-Distributed Mode, and Deploying HBase on a Cluster for more information on configuring HBase for different modes.

    To list the installed files on Ubuntu and Debian systems:

    $ dpkg -L hbase

    To list the installed files on RHEL and SLES systems:

    $ rpm -ql hbase

    You can see that the HBase package has been configured to conform to the Linux Filesystem Hierarchy Standard. (To learn more, run man hier).

    You are now ready to enable the server daemons you want to use with Hadoop. You can also enable Java-based client access by adding the JAR files in /usr/lib/hbase/ and /usr/lib/hbase/lib/ to your Java class path.

    Page generated March 7, 2018.