Skip to content

Latest commit

 

History

History

conf-examples

Configuration examples

No authentication

Configuration files are not necessary if Kerberos authentication is disabled, since you can simply pass the ZooKeeper quorum instead as the command-line argument.

# With configuration file
./hbase-region-inspector insecure.properties 7777

# ZooKeeper quorum as the argument
./hbase-region-inspector zookeeper.example.com 7777

Authentication with keytab (recommended)

Manual renewal of ticket is not needed.

Authentication with ticket cache

In this case, you have to obtain a ticket cache beforehand with kinit.

> kinit user@HBASE.EXAMPLE.COM
user@HBASE.EXAMPLE.COM's Password:
> ./hbase-region-inspector secure-ticket-cache.properties 7777

Also make sure to periodically renew the ticket before it expires.