Skip to content

Instantly share code, notes, and snippets.

@qrtt1
Created May 25, 2014 14:30
Show Gist options
  • Save qrtt1/18ba89ea25e9fcc6c6eb to your computer and use it in GitHub Desktop.
Save qrtt1/18ba89ea25e9fcc6c6eb to your computer and use it in GitHub Desktop.
bash-4.1$ kinit hbase/[email protected] -k -t /var/run/cloudera-scm-agent/process/249-hbase-MASTER/hbase.keytab
bash-4.1$ klist
Ticket cache: FILE:/tmp/krb5cc_484
Default principal: hbase/[email protected]
Valid starting Expires Service principal
05/25/14 14:29:08 05/26/14 14:29:08 krbtgt/[email protected]
renew until 05/25/14 14:29:08
bash-4.1$ klist ^C
bash-4.1$ hbase shell /tmp/hbase_test
14/05/25 14:29:27 INFO Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
0 row(s) in 6.0450 seconds
0 row(s) in 0.0940 seconds
0 row(s) in 0.0140 seconds
0 row(s) in 0.0070 seconds
0 row(s) in 0.0120 seconds
ROW COLUMN+CELL
r1 column=f1:, timestamp=1401028176567, value=v2
r1 column=f1:c1, timestamp=1401028176581, value=v2
r1 column=f1:c2, timestamp=1401028176594, value=v3
1 row(s) in 0.1050 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment