Launching hbase shell
To launch the hbase shell and use it with Cloudera Operational Database (COD), you have to create an edge node with a configured HBase client tarball.
Configure an edge node. For more information, see COD edge node overview.
- In your COD web interface navigate to Connect > HBase Client Tarball.
-
Add your Hbase Client Tarball and HBase Client Configuration.
-
Download
hbase-client-tarball.tar.gz
and extract it to a location on the edge node. This is your"HBASE_HOME"
. -
Download the client configuration using the
curl
command. -
Extract the client configuration zip file, and move the contained
hbase-conf
directory to "HBASE_HOME" with the nameconf
(instead ofhbase-conf
).
-
Download
-
Launch the hbase shell.
$ kinit [***cdp_workload_user***] Password: ******** $ export HBASE_HOME=hbase-2… $ cd $HBASE_HOME $ ./bin/hbase shell
-
Validate you can connect through hbase shell.
Use the
list
command in hbase shell to list all tables. -
Add yarn configuration to hbase configuration.
- Navigate to Connect > HBase Client Tarball and expand the YARN Configuration section..
-
Download the
yarn-config.zip
file. -
Add the files from
yarn-conf
to"HBASE_HOME"/conf
. -
Download the
TLS truststore
and remember where you place it. -
Update the
ssl-client.xml
file with the TLS TRuststore details. -
Ensure that in the
ssl-client.xml
file thessl.client.trustore.location
points to thecod-truststore.jks
you have downloaded in step d. -
Ensure that the
ssl.client.truststore.password
matches theTLS Truststore Password
.