sankarh commented on a change in pull request #537: HIVE-19430 : 
ObjectStore.cleanNotificationEvents OutOfMemory on large number of pending 
events
URL: https://github.com/apache/hive/pull/537#discussion_r257202597
 
 

 ##########
 File path: 
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
 ##########
 @@ -555,6 +555,9 @@ public static ConfVars getMetaConf(String name) {
     EVENT_DB_LISTENER_TTL("metastore.event.db.listener.timetolive",
         "hive.metastore.event.db.listener.timetolive", 86400, TimeUnit.SECONDS,
         "time after which events will be removed from the database listener 
queue"),
+    CLEAN_MAX_EVENTS("metastore.event.db.clean.maxevents",
+            "hive.metastore.event.db.clean.maxevents", 10000,
+            "Limit on number events to be cleaned at a time in metastore 
cleanNotificationEvents call, to avoid OOM"),
 
 Review comment:
   Also, shall mention that if passed as 0 or negative values, then all expired 
events will be cleaned.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to