This action will force synchronization from 爱多一点/hadoop-docker-nn, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
Hadoop介绍 及应用场景.
Hbase+Hive介绍 及应用场景.
通过hive创建hbase表,在hive中增加数据,hbase同步增加数据,查看hive的数据。 通过hive创建hbase表,在hbase中增加数据,查看hbase数据。
进入到当前目录
fig up -d && fig logs [namenode 节点启动较慢,需要二次启动]
测试snappy安装是否成功:
1 . 使用 CompressionTest 来查看snappy是否 enabled 并且能成功 loaded:
2 . 创建一章以snappy方式压缩的表来检查能否成功:
####初始化日志数据表
docker exec -u hdfs hbase_hb_1 bash -c "hbase shell < /data/hbase/hbase-init.rb"
docker exec -u hdfs hbase_rs_1 bash -c "hive -f /data/hbase/hive-init.sql"
#在hbase插入一条数据,hive查询数据同步增加 #>hbase shell #>put 'hive_hbase_log',1, 'log:full', '100' #>scan ‘hive_hbase_log'
hbase+hive示例
https://github.com/supermy/hadoop-docker-nn http://t.cn/RA6by8L
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。