[ 
https://issues.apache.org/jira/browse/HIVE-19251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16444933#comment-16444933
 ] 

Daniel Dai commented on HIVE-19251:
-----------------------------------

This patch only changes the implementation ObjectStore.getNextNotification, 
there's no simple way to test it. And limited getNextNotification already 
covered in TestDbNotificationListener.filterWithMax. So I didn't include a test 
case.

> 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)

Reply via email to