为了账号安全,请及时绑定邮箱和手机立即绑定

windows怎么hbase 安装配置

/ 猿问

windows怎么hbase 安装配置

暮色呼如 2018-12-31 00:00:22

windows怎么hbase 安装配置


查看完整描述

1 回答

?
慕粉4167745

First
Maybe to government web to
For-example

Second

Third

After download will be extracted to the custom disk
Files as bellow:

Update Configuration File hbase-site.xml:

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

Configure HBASE Variable Environment to Java .
HBASE_HOME : E:\hbase-0.96.2-hadoop1 by 0.96.2 for example
二 start up hbase

Success

Next step testing hbase shell
Win+R >>>>CMD input hbase of address bin as bellow picture

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 .



查看完整回答
反对 回复 2019-01-15
  • 1 回答
  • 0 关注
  • 147 浏览
我要回答

添加回答

回复

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信