Get the App
SLTechnology News&Howtos  ›  Servers  › 

Query the ways to set Fetch task to not enable Mapreduce job

Shulou Source: shulou.com Published: 2022-06-01 00:53:44 09月22日 Update

Editor to share with you the query to set Fetch task to not enable Mapreduce job what are the ways, I hope you will learn something after reading this article, let's discuss it together!

Fetch task function for simple query: supported from Hive0.10.0 version

Configuration method:

Set.hive.fetch.task.conversion=more;-the Fetch task is turned on, so MapReduce job is no longer enabled for the above simple column query!

Hive-hiveconf hive.fetch.task.conversion=more

Both of the above methods enable the Fetch task, but both work temporarily. If you want to enable this feature all the time, you can add the following configuration to ${HIVE_HOME} / conf/hive-site.xml:

Modify the hive-site.xml file

Property >

Hive.fetch.task.conversion

More

After reading this article, I believe you have a certain understanding of "what are the ways to set Fetch task to enable Mapreduce job". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Tags: Query mode task function article configuration function finished document method more version knowledge industry information information channel face channel time support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Huawei Shulou Tech Info Xiaomi Microsoft