Hive3默认使用Tez代替MapReduce吗?

时间:2020-03-30 11:25:02

标签: hive mapreduce apache-tez

我从Internet站点上收到了一些消息,例如:https://docs.cloudera.com/runtime/7.1.0/hive-introduction/topics/hive-apache-hive-3-architectural-overview.html。< br /> 这些站点说hive3将在引擎中使用tez代替MapReduce。但是我安装了hive3。当我插入表格时,MapReduce任务仍然启动。我收集的信息是否错误?
我的蜂巢版本是3.1.2,例如,我在$ {HIVE_HOME} / lib
中有hive-common-3.1.2.jar。 这是我创建表格时来自蜂巢的信息

hive (default)> create table student as select * from stu;
Query ID = root_20200330180903_f7ee5f33-9bb5-41a8-ab39-4c0f6bdfefda
Total jobs = 3
Launching Job 1 out of 3
Number of reduce tasks is set to 0 since there's no reduce operator
Starting Job = job_1585562844385_0001, Tracking URL = http://hdp01:8088/proxy/application_1585562844385_0001/
Kill Command = /usr/hadoop/bin/mapred job  -kill job_1585562844385_0001
Hadoop job information for Stage-1: number of mappers: 1; number of reducers: 0
2020-03-30 18:09:24,886 Stage-1 map = 0%,  reduce = 0%
2020-03-30 18:09:38,738 Stage-1 map = 100%,  reduce = 0%, Cumulative CPU 1.29 sec
MapReduce Total cumulative CPU time: 1 seconds 290 msec
Ended Job = job_1585562844385_0001
Stage-4 is selected by condition resolver.
Stage-3 is filtered out by condition resolver.
Stage-5 is filtered out by condition resolver.
Moving data to directory hdfs://hdp01:9000/user/hive/warehouse/.hive-staging_hive_2020-03-30_18-09-03_990_5468434929272189411-1/-ext-10002
Moving data to directory hdfs://hdp01:9000/user/hive/warehouse/student
MapReduce Jobs Launched: 
Stage-Stage-1: Map: 1   Cumulative CPU: 1.29 sec   HDFS Read: 4664 HDFS Write: 115 SUCCESS
Total MapReduce CPU Time Spent: 1 seconds 290 msec
OK
stu.id  stu.name
Time taken: 37.916 seconds

0 个答案:

没有答案
相关问题