You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2009/12/01 19:42:20 UTC

[jira] Commented: (HBASE-2022) NPE in housekeeping kills RS

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

Jean-Daniel Cryans commented on HBASE-2022:
-------------------------------------------

It seems that in HRS.Worker.run() we already handle that case:

{code}

e = toDo.poll(threadWakeFrequency, TimeUnit.MILLISECONDS);
if(e == null || stopRequested.get()) {
  continue;
}

{code}

Then we should just check for null in housekeeping.

> NPE in housekeeping kills RS
> ----------------------------
>
>                 Key: HBASE-2022
>                 URL: https://issues.apache.org/jira/browse/HBASE-2022
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.2
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>            Priority: Critical
>             Fix For: 0.20.3, 0.21.0
>
>
> Saw this on Zhenyu's 0.20.1 cluster (which for some weird reason seems to have many issues):
> {code}
> 2009-11-30 16:44:48,170 FATAL org.apache.hadoop.hbase.regionserver.HRegionServer: Unhandled exception. Aborting...
> java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.housekeeping(HRegionServer.java:1280)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:590)
> 	at java.lang.Thread.run(Thread.java:619)
> {code}
> This reminds me of HBASE-1386 and in fact this could be the same issue (but I can't confirm). Searching on the web gives me some hits and this is particularly interesting http://forums.sun.com/thread.jspa?threadID=5379669

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