企业级系统用户浏览数据存储实例(hbase,hive,impala整合)
1.hbase表设计
建表语句
create 'behavior','view', 'attention'
view用于用户的浏览信息的收集,attention用于用户的关注信息的收集
数据如下
put 'behavior','user1', 'view:2015-10-22', "\x00\x00\x00\x09"
put 'behavior','user1', 'attenti
原创
2015-10-23 17:18:05 ·
877 阅读 ·
0 评论