ashutosh-bapat 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_r257214084
########## 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: Done. ---------------------------------------------------------------- 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