Limit the maximum number of dynamic partitions in Hive

0 votes
Hi. I want to limit the maximum number of dynamic partitions that can be created to be 500. How can I change this?
May 21, 2019 in Big Data Hadoop by Komal
2,282 views

2 answers to this question.

0 votes

By default, the maximum number of default partitions that can be created is set to 1000. You can set it to 500 as follows:

$ hive --hiveconf hive.exec.max.dynamic.partitions=500
answered May 21, 2019 by Risha
0 votes
if you are already on hive shell prompt. you just need to type in below command to change this parameter.

set hive.exec.max.dynamic.partitions=500;
answered Jul 23 by Shantanu
• 190 points

Related Questions In Big Data Hadoop

0 votes
1 answer

What is the command to check the number of cores in Spark?

Go to your Spark Web UI & ...READ MORE

answered May 16, 2018 in Big Data Hadoop by Shubham
• 13,450 points
1,851 views
0 votes
1 answer
0 votes
1 answer

Hadoop Hive: How to skip the first line of csv while loading in hive table?

You can try this: CREATE TABLE temp ...READ MORE

answered Nov 8, 2018 in Big Data Hadoop by Omkar
• 69,030 points
3,554 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,950 points
5,824 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,950 points
872 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
36,603 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,320 points
2,184 views
+1 vote
1 answer

How to limit the number of rows per each item in a Hive QL?

SELECT a_id, b, c, count(*) as sumrequests FROM ...READ MORE

answered Nov 30, 2018 in Big Data Hadoop by Omkar
• 69,030 points
8,595 views
0 votes
1 answer

How to Modify the Maximum Number of Versions for a Column Family in Hbase?

Hey, The example uses HBase Shell to keep ...READ MORE

answered May 31, 2019 in Big Data Hadoop by Gitika
• 36,610 points
592 views