hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3627) NPE in EventHandler when region already reassigned
Date Tue, 15 Mar 2011 23:37:29 GMT

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

stack commented on HBASE-3627:

Whats odd here is that we are trying to transition the state with a version.  I'd have thought
that the version would not have matched before we failed on read of data.  Let me try and
make a slow-opening region test.

> NPE in EventHandler when region already reassigned
> --------------------------------------------------
>                 Key: HBASE-3627
>                 URL: https://issues.apache.org/jira/browse/HBASE-3627
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: stack
>            Priority: Critical
>             Fix For: 0.90.2
> When a region takes too long to open, it will try to update the unassigned znode and
will fail on an ugly NPE like this:
> {quote}
> DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: regionserver:60020-0x22dc571dde04ca7
Attempting to transition node 0519dc3b62a569347526875048c37faa from RS_ZK_REGION_OPENING to
> DEBUG org.apache.hadoop.hbase.zookeeper.ZKUtil: regionserver:60020-0x22dc571dde04ca7
Unable to get data of znode /hbase/unassigned/0519dc3b62a569347526875048c37faa because node
does not exist (not necessarily an error)
> ERROR org.apache.hadoop.hbase.executor.EventHandler: Caught throwable while processing
> java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:75)
> 	at org.apache.hadoop.hbase.executor.RegionTransitionData.fromBytes(RegionTransitionData.java:198)
> 	at org.apache.hadoop.hbase.zookeeper.ZKAssign.transitionNode(ZKAssign.java:672)
> 	at org.apache.hadoop.hbase.zookeeper.ZKAssign.retransitionNodeOpening(ZKAssign.java:585)
> 	at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.tickleOpening(OpenRegionHandler.java:322)
> 	at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:97)
> 	at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:151)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> {quote}
> I think the region server in this case should be closing the region ASAP.

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

View raw message