...

Big Data - HBASE

Back to Course

Lesson Description


Lession - #878 HBase Shutting Down


You shut down the shell by typing the exit command.



Stopping HBase
To stop HBase, browse to the HBase home folder and type the following command.



Stopping HBase Using Java API
You can shut down the HBase utilizing the shutdown(>
strategy for the HBaseAdmin class. Follow the means given below to close down HBase:

Stage 1
Instantiate the HbaseAdmin class.



Stage 2
Close down the HBase utilizing the shutdown(>
strategy for the HBaseAdmin class.

Given below is the program to stop the HBase.



compile and execute the above program as displayed below.



The following should be the result: