hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-2077) NullPointerException with an open scanner that expired causing an immediate region server shutdown
Date Tue, 09 Aug 2011 20:08:27 GMT

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

Todd Lipcon commented on HBASE-2077:
------------------------------------

This is long since committed, but just a request:

In the future could we open separate JIRAs rather than doing a "part 2" when the commits are
more than a day apart? It's very difficult to figure out what went on in the history of this
JIRA, since it was committed for 0.20 in Dec '09, briefly amended in Feb '10, amendation partially
reverted the next day, and then another change in Jun '11 for 0.90.4 to solve an entirely
different bug than the description indicates. This makes it very difficult to support past
branches or maintain distributions, since it appears this was fixed long ago but in fact 0.90.3
lacks a major part of the JIRA.

> NullPointerException with an open scanner that expired causing an immediate region server
shutdown
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2077
>                 URL: https://issues.apache.org/jira/browse/HBASE-2077
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.20.2, 0.20.3
>         Environment: Hadoop 0.20.0, Mac OS X, Java 6
>            Reporter: Sam Pullara
>            Assignee: Sam Pullara
>            Priority: Critical
>             Fix For: 0.90.4
>
>         Attachments: 2077-suggestion.txt, 2077-v4.txt, HBASE-2077-3.patch, HBASE-2077-redux.patch,
[Bug_HBASE-2077]_Fixes_a_very_rare_race_condition_between_lease_expiration_and_renewal.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 2009-12-29 18:05:55,432 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner
-4250070597157694417 lease expired
> 2009-12-29 18:05:55,443 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer: 
> java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.KeyValue$KVComparator.compare(KeyValue.java:1310)
> 	at org.apache.hadoop.hbase.regionserver.KeyValueHeap$KVScannerComparator.compare(KeyValueHeap.java:136)
> 	at org.apache.hadoop.hbase.regionserver.KeyValueHeap$KVScannerComparator.compare(KeyValueHeap.java:127)
> 	at org.apache.hadoop.hbase.regionserver.KeyValueHeap$KVScannerComparator.compare(KeyValueHeap.java:117)
> 	at java.util.PriorityQueue.siftDownUsingComparator(PriorityQueue.java:641)
> 	at java.util.PriorityQueue.siftDown(PriorityQueue.java:612)
> 	at java.util.PriorityQueue.poll(PriorityQueue.java:523)
> 	at org.apache.hadoop.hbase.regionserver.KeyValueHeap.next(KeyValueHeap.java:113)
> 	at org.apache.hadoop.hbase.regionserver.HRegion$RegionScanner.nextInternal(HRegion.java:1776)
> 	at org.apache.hadoop.hbase.regionserver.HRegion$RegionScanner.next(HRegion.java:1719)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1944)
> 	at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:648)
> 	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> 2009-12-29 18:05:55,446 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 7
on 55260, call next(-4250070597157694417, 10000) from 192.168.1.90:54011: error: java.io.IOException:
java.lang.NullPointerException
> java.io.IOException: java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.convertThrowableToIOE(HRegionServer.java:869)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.convertThrowableToIOE(HRegionServer.java:859)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1965)
> 	at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:648)
> 	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> Caused by: java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.KeyValue$KVComparator.compare(KeyValue.java:1310)
> 	at org.apache.hadoop.hbase.regionserver.KeyValueHeap$KVScannerComparator.compare(KeyValueHeap.java:136)
> 	at org.apache.hadoop.hbase.regionserver.KeyValueHeap$KVScannerComparator.compare(KeyValueHeap.java:127)
> 	at org.apache.hadoop.hbase.regionserver.KeyValueHeap$KVScannerComparator.compare(KeyValueHeap.java:117)
> 	at java.util.PriorityQueue.siftDownUsingComparator(PriorityQueue.java:641)
> 	at java.util.PriorityQueue.siftDown(PriorityQueue.java:612)
> 	at java.util.PriorityQueue.poll(PriorityQueue.java:523)
> 	at org.apache.hadoop.hbase.regionserver.KeyValueHeap.next(KeyValueHeap.java:113)
> 	at org.apache.hadoop.hbase.regionserver.HRegion$RegionScanner.nextInternal(HRegion.java:1776)
> 	at org.apache.hadoop.hbase.regionserver.HRegion$RegionScanner.next(HRegion.java:1719)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1944)
> 	... 5 more
> 2009-12-29 18:05:55,447 WARN org.apache.hadoop.ipc.HBaseServer: IPC Server Responder,
call next(-4250070597157694417, 10000) from 192.168.1.90:54011: output error
> 2009-12-29 18:05:55,448 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 7
on 55260 caught: java.nio.channels.ClosedChannelException
> 	at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:126)
> 	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:324)
> 	at org.apache.hadoop.hbase.ipc.HBaseServer.channelWrite(HBaseServer.java:1125)
> 	at org.apache.hadoop.hbase.ipc.HBaseServer$Responder.processResponse(HBaseServer.java:615)
> 	at org.apache.hadoop.hbase.ipc.HBaseServer$Responder.doRespond(HBaseServer.java:679)
> 	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:943)
> 2009-12-29 18:05:56,322 INFO org.apache.hadoop.ipc.HBaseServer: Stopping server on 55260
> 2009-12-29 18:05:56,322 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server listener
on 55260

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message