![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HBase
彭世瑜
记录我的工作学习笔记
展开
-
HBase数据库的基本操作增删改查
# 进入hbase命令行,hbase需要在环境变量路径中 >hbase shell 表操作 # 显示hbase中的表 > list # 创建user表,包含info、data两个列族 > create 'user', 'info', 'data' # 查看表结构(省略部分信息) > describe 'user' {NAME => 'data'} {N...原创 2018-12-14 17:53:39 · 2997 阅读 · 0 评论 -
Python编程:happybase读写HBase数据库
happybase文档: https://happybase.readthedocs.io/en/latest/ 安装 pip install happybase 表操作 import happybase # 连接数据库 connection = happybase.Connection(host='hostname', port=9090) # 查询所有表 table_name_list ...原创 2019-01-08 16:54:05 · 7002 阅读 · 0 评论