Hive查询需要很长时间才能启动MR作业

时间:2016-06-08 12:25:59

标签: hive

我正在查询包含大约10米行的hive表。早期的查询用于在hive 0.14上快速完成。然后我转到hive 1.2.1,现在它没有启动MR工作

hive> select count(1) from nodes;
Query ID = lagvankarh_20160608221653_5dd82f87-3527-4eb6-9a59-f11ccaf0a125
Total jobs = 1
Launching Job 1 out of 1
Number of reduce tasks determined at compile time: 1
In order to change the average load for a reducer (in bytes):
  set hive.exec.reducers.bytes.per.reducer=<number>
In order to limit the maximum number of reducers:
  set hive.exec.reducers.max=<number>
In order to set a constant number of reducers:
  set mapreduce.job.reduces=<number>

很长一段时间后我收到SocketTimeout错误。

0 个答案:

没有答案