1、FirstMaybe to government web to For-example
2、Second
3、Third
4、After download will be extracted to the custom diskFiles as bellow:
5、Update Configuration File hbase-site.xml:
6、As follow codes :&盟敢势袂lt;configuration> <property> <n锾攒揉敫ame>hbase.rootdir</name> <value>file:///E:/hbase/tmp/hbase/root</value> </property> <property> <name>hbase.zookeeper.property.dataDir</name> <value>/appdata/hbase/zookeeper</value> </property> </configuration>
7、FourthConfigure HBASE Variable Environment to Java .HBASE_HOME : E:\hbase-0.96.2-hadoop1by 0.96.2 for example二 start up hbase
8、Success
9、Next step testing hbase shellWin+R >>>>CMD input hbase of address bin as bellow picture
10、hbase(mai艘绒庳焰n):001:0> create 'mytable', 'data'0 row(s) in 1.1420 seconds => Hbase::Table - mytable hbase(main):002:0> put 'mytable', 'row1', 'data:1', 'value1'0 row(s) in 0.0580 seconds hbase(main):003:0> put 'mytable', 'row2', 'data:2', 'value2'0 row(s) in 0.0090 seconds hbase(main):004:0> put 'mytable', 'row3', 'data:3', 'value3'0 row(s) in 0.0080 seconds hbase(main):005:0> listTABLE mytable 1 row(s) in 0.0200 seconds => ["mytable"] hbase(main):006:0> scan 'mytable'ROW COLUMN+CELL row1 column=data:1, timestamp=1416554699558, value=value1 row2 column=data:2, timestamp=1416554715456, value=value2 row3 column=data:3, timestamp=1416554730255, value=value3 3 row(s) in 0.0520 seconds hbase(main):009:0> exittesting everything that is OK,perfect。Do not Cygwin。That is a surprise for me by hbase .