![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hbase
滑冰选手库里
纸上得来终觉浅,绝知此事要躬行
展开
-
HBase 安装配置与启动
准备工作需要安装好Hadoop和zookeeper,在前面有介绍过环境部署:在master、slave1、slave2、slave3上安装好zookeeper目录:/usr/local/BigDataApp/zookeeper-3.4.10下载Hbase文件然后在master、slave1、slave2、slave3上解压好Hbase目录:/usr/local/Bi...原创 2019-05-04 16:47:57 · 502 阅读 · 0 评论 -
HBase Shell 操作
基本操作1.进入 HBase 客户端命令行bin/hbase shell2.查看帮助命令hbase(main):001:0> help3.查看当前数据库中有哪些表hbase(main):002:0> list表的操作1.创建表hbase(main):002:0> create 'student','info'2.插入数据到表hbase(ma...原创 2019-05-05 10:37:38 · 146 阅读 · 0 评论 -
HBase 数据结构
1.RowKey与 nosql 数据库们一样,RowKey 是用来检索记录的主键。访问 HBASE table 中的行,只有三种方式: 1.通过单个 RowKey 访问 2.通过 RowKey 的 range(正则) 3.全表扫描 RowKey 行键 (RowKey)可以是任意字符串(最大长度是 ...原创 2019-05-05 16:34:20 · 704 阅读 · 0 评论