Hive on CDH4部署、调错及测试(二)

2014-11-24 11:21:47 · 作者: · 浏览: 1
TABLE `SDS` ALTER `IS_STOREDASSUBDIRECTORIES` SET DEFAULT 0;
然后使用examples目录下提供的一些测试数据和脚本,尝试插入数据:
[html]
load data local inpath '/home/mywork/work/hive-0.9.0-bin/examples/files/kv1.txt' into table test;
kv1-kv6共有六份txt,然后执行
[html]
select * from test where num > 400;
体验下MR过程有多蛮长吧。。
(我最简单对比了下,hive使用了14s,用shark仅1s,后续针对hive vs shark会有专门的博文)