我有这个查询SELECT COUNT(*) from table
;
当我在Hive中运行它时,我得到类似下面的内容而没有作业ID。当我检查MapReduce作业运行时,我看不到任何正在运行的作业。但是,10分钟后,我发现有一份正在运行的工作。我不知道什么是错的以及如何解决它。
我希望在hive查询后立即运行MapReduce作业。
我在Hive提示符下看到以下输出:
Total MapReduce 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 mapred.reduce.tasks=<number>