PREHOOK: query: USE default PREHOOK: type: SWITCHDATABASE POSTHOOK: query: USE default POSTHOOK: type: SWITCHDATABASE PREHOOK: query: -- Test of hive.exec.max.dynamic.partitions -- Set hive.exec.max.dynamic.partitions.pernode to a large value so it will be ignored CREATE TABLE max_parts(key STRING) PARTITIONED BY (value STRING) PREHOOK: type: CREATETABLE POSTHOOK: query: -- Test of hive.exec.max.dynamic.partitions -- Set hive.exec.max.dynamic.partitions.pernode to a large value so it will be ignored CREATE TABLE max_parts(key STRING) PARTITIONED BY (value STRING) POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@max_parts PREHOOK: query: INSERT OVERWRITE TABLE max_parts PARTITION(value) SELECT key, value FROM src LIMIT 50 PREHOOK: type: QUERY PREHOOK: Input: default@src PREHOOK: Output: default@max_parts Failed with exception Number of dynamic partitions created is 49, which is more than 10. To solve this try to set hive.exec.max.dynamic.partitions to at least 49. FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask