[ https://issues.apache.org/jira/browse/HIVE-19251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16445142#comment-16445142 ]
Alexander Kolbasov commented on HIVE-19251: ------------------------------------------- I think this patch is fine, but in the long term we should always limit the number of returned events even if -1 is specified (or some big number) Consumers can always ask for more. > ObjectStore.getNextNotification with LIMIT should use less memory > ----------------------------------------------------------------- > > Key: HIVE-19251 > URL: https://issues.apache.org/jira/browse/HIVE-19251 > Project: Hive > Issue Type: Bug > Components: repl, Standalone Metastore > Reporter: Daniel Dai > Assignee: Daniel Dai > Priority: Major > Attachments: HIVE-19251.1.patch > > > Experience OOM when Hive metastore try to retrieve huge amount of > notification logs even there's limit clause. Hive shall only retrieve > necessary rows. -- This message was sent by Atlassian JIRA (v7.6.3#76005)