Managing high partition workloads
Condition
If you are running high partition workloads, such as a table having 5000 partitions
and 100 columns, you may notice the following error when inserting data from a
source table to the destination
table:
ERROR : FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.exec.MoveTask.
MetaException(message:One or more instances could not be made persistent)
Cause
The issue occurs because the queries are run one at a time and there is no query concurrency. Learn how you can configure the HiveServer (HS2) and Hive Metastore (HMS) services with the recommended values to prevent errors while inserting data into high partition workloads.