赞
踩
start-hbase.sh
create 'exam_tb1','student_info','course_info'
put 'exam_tb1', 'row-1', 'student_info:name', 'zhangsan'
put 'exam_tb1', 'row-1', 'student_info:s_no', '2020001'
put 'exam_tb1', 'row-2', 'student_info:name', 'lisi'
put 'exam_tb1', 'row-2', 'student_info:s_no', '2020002'
put 'exam_tb1', 'row-1', 'course_info:c_no', '123001'
put 'exam_tb1', 'row-1', 'course_info:c_name', 'HBase'
put 'exam_tb1', 'row-2', 'course_info:c_no', '123002'
put 'exam_tb1', 'row-2', 'course_info:c_name', 'Hadoop'
exit
echo "scan 'exam_tb1'" | hbase shell >/root/student.txt
在命令行中先启动 HBase (在任意目录输入 start-hbase.sh 命令即可)
命令行
start-hbase.sh
代码文件
在命令行中先启动 HBase (在任意目录输入 start-hbase.sh 命令即可)
命令行
start-hbase.sh
代码文件
在命令行中先启动 HBase (在任意目录输入 start-hbase.sh 命令即可)
命令行
start-hbase.sh
代码文件
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。