Hive3 использовать Tez вместо MapReduce по умолчанию? - PullRequest
0 голосов
/ 30 марта 2020

Я получил сообщение от Inte rnet sites.like:https: //docs.cloudera.com/runtime/7.1.0/hive-introduction/topics/hive-apache-hive-3-architectural- обзор. html.
На этих сайтах говорилось, что hive3 будет использовать tez вместо MapReduce в движке. Но я устанавливаю hive3.При вставке в таблицу задача MapReduce все еще запускается. Была ли неправильно собранная информация?
Моя версия куста - 3.1.2. Например, у меня есть файл hive-common-3.1.2.jar в $ {HIVE_HOME} / lib
Вот информация из улья, когда я создал таблицу

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
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...