我正在从我的Java程序运行HIVE查询。我得到了输出正常并且看着Hive命令控制台我对以下HDFS读取和HDFS写入统计信息感到困惑。
Query ID = user_20151125192730_ccab28bb-830d-4ff0-9231-fe7405795d4f
Total jobs = 1
Launching Job 1 out of 1
Number of reduce tasks not specified. Estimated from input data size: 4
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>
Job running in-process (local Hadoop)
2015-11-25 19:27:31,849 Stage-1 map = 0%, reduce = 0%
2015-11-25 19:27:35,879 Stage-1 map = 100%, reduce = 0%
2015-11-25 19:27:41,996 Stage-1 map = 100%, reduce = 100%
Ended Job = job_local1955981114_0014
MapReduce Jobs Launched:
Stage-Stage-1: HDFS Read: 0 HDFS Write: 0 SUCCESS
Total MapReduce CPU Time Spent: 0 msec
为什么HDFS读取和HDFS写入零字节以及CPU时间花费0毫秒。
我在单节点模式下使用hive 1.2.1和Hadoop 2.6。