Command Line Installation
Also available as:
PDF
loading table of contents...

Starting the HBase Thrift and REST Servers

Administrators must manually start the Thrift and REST servers for HBase.

Starting the HBase Thrift and REST Servers in the Foreground

Where <port> is the service’s port, and <info port> is the port for the web-ui with information about the service, use the following command to start the HBase Thrift server in the foreground:

hbase thrift start -p <port> --infoport <infoport>

Where <port> is the service’s port, and <info port> is the port for the web-ui with information about the service, use the following command to start the HBase REST server in the foreground:

hbase rest start -p <port> --infoport <infoport>

Starting the HBase Thrift Server in the Background

Where <port> is the service’s port, and <info port> is the port for the web-ui with information about the service, use the following command to start the HBase Thrift server in the background:

/usr/hdp/current/hbase-master/bin/hbase-daemon.sh start thrift -p <port> --infoport <infoport> 

Where <port> is the service’s port, and <info port> is the port for the web-ui with information about the service, use the following command to start the HBase REST server in the background:

/usr/hdp/current/hbase-master/bin/hbase-daemon.sh start rest -p <port> --infoport <infoport> 

For additional information, see the Starting and Stopping the REST Server and Thrift API and Filter Language sections of Apache HBase Reference Guide.