hbase windows安装
2021-04-11 10:28
标签:0.00 list 安装 nbsp val bsp 最新版 apach timestamp 下载目前最新版本 http://mirrors.hust.edu.cn/apache/hbase/stable/ 最新版本 hbase-1.2.6 1. 解压到D:\software\hbase-1.2.6 进入到bin目录 运行: start-hbase.cmd 2.测试 执行 bin>hbase shell hbase windows安装 标签:0.00 list 安装 nbsp val bsp 最新版 apach timestamp 原文地址:https://www.cnblogs.com/davidwang456/p/9026519.htmlhbase(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