hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3261) NPE out of HRS.run at startup when clock is out of sync
Date Mon, 22 Nov 2010 23:52:16 GMT

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

Jonathan Gray commented on HBASE-3261:
--------------------------------------

Yeah this is something I had to add a lot of checks for in HMaster as well.  +1 on adding
null checks before we stop/interrupt stuff.

> NPE out of HRS.run at startup when clock is out of sync
> -------------------------------------------------------
>
>                 Key: HBASE-3261
>                 URL: https://issues.apache.org/jira/browse/HBASE-3261
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>             Fix For: 0.90.0, 0.92.0
>
>
> This is what I get when I start a region server that's not properly sync'ed:
> {noformat}
> Exception in thread "regionserver60020" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:603)
> 	at java.lang.Thread.run(Thread.java:637)
> {noformat}
> I this case the line was:
> {noformat}
> hlogRoller.interruptIfNecessary();
> {noformat}
> I guess we could add a bunch of other null checks.
> The end result is the same, the RS dies, but I think it's misleading.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message