
hive
文章平均质量分 61
一线码奴
这个作者很懒,什么都没留下…
展开
-
Hive Impala Count 效率比对
Hive 主要是跑批处理的,Impala主要是做准实时的内存查询,我拿他俩做比较~~感觉我好没意思阿~~ 一、count 比较 十万数量级 Imapal [cdh-node2:21000] > select count(1) from userinfo; Query: select count(1) from userinfo +----------+ | count(1) | +----原创 2015-01-31 18:09:56 · 1547 阅读 · 0 评论 -
Hive SQL 使用笔记
一、建表语句 1、普通建表,指定分隔符 create table user( name string, ips string COMMENT 'IP Address of the User') COMMENT 'This is the user view table' ROW FORMAT DELIMITED FIELDS TERMINATED原创 2015-01-30 21:02:17 · 628 阅读 · 0 评论 -
Hive 研发笔记---LEFT JOIN 中的坑
因为日志急速增长,原来放在Mysql上的统计 越来越吃力,所以公司决定把统计业务迁移到Hadoop上。 在比对数据的时候,发现了Hive中的一个坑 select a.* from default.t_softuser a left join t_softuser b on a.hid=b.hid and a.corp=b.corp and a.softid=b.softid and a.s原创 2015-01-29 17:19:56 · 2490 阅读 · 0 评论 -
Hive 执行sql 报 2015-01-22 17:07:59,263 WARN conf.HiveConf (HiveConf.java:initialize(1507)) - DEPRECAT
在执行Hive的时候报 2015-01-22 17:07:59,263 WARN conf.HiveConf (HiveConf.java:initialize(1507)) - DEPRECATED: Configuration property hive.metastore.local no longer has any effect. Make sure to provide a val原创 2015-01-30 20:55:00 · 542 阅读 · 0 评论