hive 回避map-reduce job的场景
map-reduce 驱动需要消耗大量资源,也费时间。 对于简单查询,hive可以回避使用map-reduce,改用fetch task
--hiveconf
set hive.fetch.task.conversion=more;
那么对于select * from tab 这种就会很快。
如果有聚合计算,仍然会启动map-reduce。
如order by,count, group by等
map-reduce 驱动需要消耗大量资源,也费时间。 对于简单查询,hive可以回避使用map-reduce,改用fetch task
--hiveconf
set hive.fetch.task.conversion=more;
那么对于select * from tab 这种就会很快。
如果有聚合计算,仍然会启动map-reduce。
如order by,count, group by等