Starting and Stopping HBase
Use these instructions to start, stop, restart, rolling restart, or decommission HBase clusters or individual hosts.
Starting or Restarting HBase
You can start HBase hosts individually or as an entire cluster.
- Go to the HBase service.
- Click the Actions button and select Start.
- To restart a running cluster, click Actions and select Restart or Rolling Restart. A rolling restart, which restarts each RegionServer, one at a time, after a grace period. To configure the grace period, see Configuring the Graceful Shutdown Timeout Property.
- The Thrift service has no dependencies and can be restarted at any time. To stop or restart the Thrift
service:
- Go to the HBase service.
- Select Instances.
- Select the HBase Thrift Server instance.
- Select Actions for Selected and select either Stop or Restart.
Stopping HBase
You can stop a single HBase host, all hosts of a given type, or all hosts in the cluster.
- To stop or decommission a single RegionServer:
- Go to the HBase service.
- Click the Instances tab.
- From the list of Role Instances, select the RegionServer or RegionServers you want to stop or decommission.
- Select Actions for Selected and select either Decommission (Graceful Stop) or Stop.
- Graceful Stop causes the regions to be redistributed to other RegionServers, increasing availability during the RegionServer outage. Cloudera Manager waits for an interval determined by the Graceful Shutdown timeout interval, which defaults to three minutes. If the graceful stop does not succeed within this interval, the RegionServer is stopped with a SIGKILL (kill -9) signal. Recovery will be initiated on affected regions.
- Stop happens immediately and does not redistribute the regions. It issues a SIGTERM (kill -5) signal.
- To stop or decommission a single HMaster, select the Master and go through the same steps as above.
- To stop or decommission the entire cluster, select the Actions button at the top of the screen (not Actions for selected) and select Decommission (Graceful Stop) or Stop.
Page generated May 18, 2018.
<< Managing HBase | ©2016 Cloudera, Inc. All rights reserved | Starting and Stopping HBase Using the Command Line >> |
Terms and Conditions Privacy Policy |