永发信息网

windows怎么hbase 安装配置

答案:1  悬赏:0  手机版
解决时间 2021-11-13 10:54
  • 提问者网友:棒棒糖
  • 2021-11-13 03:57
windows怎么hbase 安装配置
最佳答案
  • 五星知识达人网友:廢物販賣機
  • 2021-11-13 05:25
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 :


hbase.rootdir
file:///E:/hbase/tmp/hbase/root


hbase.zookeeper.property.dataDir
/appdata/hbase/zookeeper


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 .
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯