Sunday, May 31, 2015

Cygwin64 Terminal #2 - HBase Shell


aravindpc@aravindpc ~
$ ssh cyg_server@localhost
  cyg_server@localhost's password:

cyg_server@aravindpc ~
$ cd /usr/local/hbase-1.0.1.1/

cyg_server@aravindpc /usr/local/hbase-1.0.1.1
$ ./bin/hbase shell
cygpath: can't convert empty path
2015-05-31 18:08:21,013 ERROR [main] util.Shell: Failed to locate the winutils binary in the hadoop binary path
java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
HBase Shell; enter 'help' for list of supported commands.
Type "exit" to leave the HBase Shell
Version 1.0.1.1, re1dbf4df30d214fca14908df71d038081577ea46, Sun May 17 12:34:26 PDT 2015

------------- HBase Commands to try ----------------
status  // Check HBase Server Status
create 'test', 'data'
list
put 'test', 'row1', 'data:1', 'value1'
put 'test', 'row2', 'data:2', 'value2'
put 'test', 'row3', 'data:3', 'value3'
scan 'test'
disable 'test'
drop 'test'
list
exit  // Exit HBase Shell
----------------------------------------------------

cyg_server@aravindpc /usr/local/hbase-1.0.1.1
$ logout
Connection to localhost closed.

aravindpc@aravindpc ~
$ exit

No comments:

Post a Comment