[ https://issues.apache.org/jira/browse/HIVE-19251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16445075#comment-16445075 ]
Vihang Karajgaonkar commented on HIVE-19251: -------------------------------------------- That sounds good. This patch is useful in the case the clients are giving a maxEvents in the request. If they are giving a negative there is a still a likelihood of OOM in my opinion. Thanks for the patch. +1 > 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)