Help Center/
MapReduce Service/
Component Operation Guide (LTS) (Ankara Region)/
Using Hive/
Switching the Hive Execution Engine to Tez
Updated on 2024-11-29 GMT+08:00
Switching the Hive Execution Engine to Tez
Scenario
Hive can use the Tez engine to process data computing tasks. Before executing a task, you can manually switch the execution engine to Tez.
Prerequisites
The TimelineServer role of the Yarn service has been installed in the cluster and is running properly.
Switching the Execution Engine on the Client to Tez
- Install and log in to the Hive client. For details, see Using a Hive Client.
- Run the following command to switch the engine:
set hive.execution.engine=tez;
- To specify a running Yarn queue, run the set tez.queue.name=default command on the client.
- Submit and execute the Tez tasks.
- Log in to FusionInsight Manager. Choose Cluster > Services > Tez > TezUI(host name) to view the task execution status on the TezUI page.
Switching the Default Execution Engine of Hive to Tez
- Log in to FusionInsight Manager. Choose Cluster > Name of the desired cluster > Services > Hive > Configurations > All Configurations > HiveServer(Role), and search for hive.execution.engine.
- Set hive.execution.engine to tez.
- Click Save. In the displayed confirmation dialog box, click OK.
- Choose Dashboard > More > Restart Service to restart the Hive service. Enter the password to restart the service.
- Install and log in to the Hive client. For details, see Using a Hive Client.
- Submit and execute the Tez tasks.
- Log in to FusionInsight Manager and choose Cluster > Name of the desired cluster > Services > Tez > TezUI(host name). On the displayed TezUI page, view the task execution status.
Parent topic: Using Hive
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot