Hbase下载安装与环境变量配置

2025-10-23 13:12:11

1、First

Maybe to government web to

For-example

Hbase下载安装与环境变量配置

2、Second

Hbase下载安装与环境变量配置

3、Third

Hbase下载安装与环境变量配置

4、After download will be extracted to the custom disk

Files as bellow:

Hbase下载安装与环境变量配置

5、Update Configuration File hbase-site.xml:

Hbase下载安装与环境变量配置

6、As follow codes :

<configuration>  

<property>  

  <name>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、Fourth

Configure HBASE Variable Environment to Java .

HBASE_HOME : E:\hbase-0.96.2-hadoop1 by  0.96.2 for example

二 start up  hbase

Hbase下载安装与环境变量配置

8、Success

Hbase下载安装与环境变量配置

9、Next step testing  hbase shell

Win+R >>>>CMD input  hbase of  address bin  as bellow picture

Hbase下载安装与环境变量配置

10、hbase(main):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> list TABLE 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> exit testing everything that is OK,perfect。Do not Cygwin。That is a surprise for me by hbase .

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢