Updated on 2024-10-25 GMT+08:00

Configuring the Maximum Number of Maps for Hive Tasks

The hive.mapreduce.per.task.max.splits parameter can be used to limit the maximum number of maps of Hive tasks on the server to prevent performance problems caused by HiveSever overload.

Procedure

  1. Log in to FusionInsight Manager. Click Cluster, choose Services > Hive, click Configurations, and then All Configurations.
  2. Choose MetaStore(Role) > Customization, add a customized parameter to the hivemetastore-site.xml parameter file, set Name to hive.mapreduce.per.task.max.splits, and set the parameter to a large value.

  3. Click Save to save the configuration. Click Instances, select all Hive instances, choose More > Restart Instance, enter the password of the current user, and click OK to restart all Hive instances.