Support Questions
Find answers, ask questions, and share your expertise

cant start hbase reset service in hbase shell

Explorer

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

Accepted Solutions

Re: cant start hbase reset service in hbase shell

Contributor

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

Re: cant start hbase reset service in hbase shell

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

Re: cant start hbase reset service in hbase shell

Contributor

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

Re: cant start hbase reset service in hbase shell

Explorer

Thank you !Thank you !Thank you !