This is an automated email from the ASF dual-hosted git repository.

gsaihemanth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 61958ca97f8 HIVE-27011 Default value of PartitionManagementTask 
frequency should be set to higher value (#4038) (Riju Trivedi, Reviewed by Sai 
Hemanth Gantasala)
61958ca97f8 is described below

commit 61958ca97f8abc9db5a7843ee2ebfd2ad788a19d
Author: rtrivedi12 <[email protected]>
AuthorDate: Tue Feb 14 23:38:17 2023 +0530

    HIVE-27011 Default value of PartitionManagementTask frequency should be set 
to higher value (#4038) (Riju Trivedi, Reviewed by Sai Hemanth Gantasala)
---
 .../main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
 
b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
index 9ef60f9debd..20d30aa80ef 100644
--- 
a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
+++ 
b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
@@ -1155,7 +1155,7 @@ public class MetastoreConf {
     // Partition management task params
     
PARTITION_MANAGEMENT_TASK_FREQUENCY("metastore.partition.management.task.frequency",
       "metastore.partition.management.task.frequency",
-      300, TimeUnit.SECONDS, "Frequency at which timer task runs to do 
automatic partition management for tables\n" +
+      6, TimeUnit.HOURS, "Frequency at which timer task runs to do automatic 
partition management for tables\n" +
       "with table property 'discover.partitions'='true'. Partition management 
include 2 pieces. One is partition\n" +
       "discovery and other is partition retention period. When 
'discover.partitions'='true' is set, partition\n" +
       "management will look for partitions in table location and add 
partitions objects for it in metastore.\n" +

Reply via email to