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

ramkrishna.s.vasudevan commented on HBASE-14895:
------------------------------------------------

After this new patch we don't reset the heap to null when a flush happens. The 
only time we do is when there is close that happens when the heap.peek() does 
not return any element. That is what has happened here. The next() call did not 
yield any cell so the heap was closed and so the heap is null and when we try 
to do a peek on that heap we got the NPE.

> Seek only to the newly flushed file on scanner reset on flush
> -------------------------------------------------------------
>
>                 Key: HBASE-14895
>                 URL: https://issues.apache.org/jira/browse/HBASE-14895
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14895.patch, HBASE-14895_1.patch, 
> HBASE-14895_1.patch, HBASE-14895_2.patch, HBASE-14895_3.patch, 
> HBASE-14895_3.patch, HBASE-14895_addendum.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to