Support Questions

Find answers, ask questions, and share your expertise

cant start hbase reset service in hbase shell

avatar
Rising Star

hi,every one!

I use shell command in hbase shell start hbase reset ,but fail . I need help! Thanks!

[root@t bin]# hbase reset start 8082

Error: Could not find or load main class reset

1 ACCEPTED SOLUTION

avatar
Rising Star

Hi @pan bocun, I guess you want to start REST for hbase:

Use one of the following commands to start the REST server in the foreground or background. The port is optional, and defaults to 8080.

# Foreground
$ bin/hbase rest start -p <port>

# Background, logging to a file in $HBASE_LOGS_DIR
$ bin/hbase-daemon.sh start rest -p <port>

Reference: http://hbase.apache.org/book.html#_rest

View solution in original post

3 REPLIES 3

avatar

I don't know about any reset service in hbase, would you mind sharing the reference from where you read about it?

avatar
Rising Star

Hi @pan bocun, I guess you want to start REST for hbase:

Use one of the following commands to start the REST server in the foreground or background. The port is optional, and defaults to 8080.

# Foreground
$ bin/hbase rest start -p <port>

# Background, logging to a file in $HBASE_LOGS_DIR
$ bin/hbase-daemon.sh start rest -p <port>

Reference: http://hbase.apache.org/book.html#_rest

avatar
Rising Star

Thank you !Thank you !Thank you !