hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitay Joffe (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1534) Got ZooKeeper event, state: Disconnected on HRS and then NPE on reinit
Date Fri, 19 Jun 2009 21:38:07 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nitay Joffe updated HBASE-1534:
-------------------------------

    Attachment: hbase-1534-v2.patch

Oops that should have been 5 million, i.e. 5 mins.

Anyways, good point. The sleeper is initialized to 3 minutes, so I think that's good enough,
and we can just log on each finished sleep as you say.

> Got ZooKeeper event, state: Disconnected on HRS and then NPE on reinit
> ----------------------------------------------------------------------
>
>                 Key: HBASE-1534
>                 URL: https://issues.apache.org/jira/browse/HBASE-1534
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Nitay Joffe
>             Fix For: 0.20.0
>
>         Attachments: hbase-1534-v2.patch, hbase-1534.patch
>
>
> We got disconnect from zk but then when we tried to reinitialize ourselves, got a NPE.
 See below.
> {code}
> 2009-06-17 11:58:55,102 [Thread-16] INFO org.apache.hadoop.hbase.regionserver.HRegionServer:
Starting shutdown thread. 
> 2009-06-17 11:58:55,102 [Thread-16] INFO org.apache.hadoop.hbase.regionserver.HRegionServer:
Shutdown thread complete
> 2009-06-17 11:58:55,102 [main-EventThread] INFO org.apache.hadoop.hbase.ipc.HBaseRpcMetrics:
Initializing RPC Metrics with hostName=HRegionServer, port=60021
> 2009-06-17 11:58:55,103 [main-EventThread] INFO org.apache.hadoop.hbase.regionserver.MemcacheFlusher:
globalMemcacheLimit=556.7m, globalMemcacheLimitLowMark=347.9m, maxHeap=1.4g
> 2009-06-17 11:58:55,103 [main-EventThread] INFO org.apache.hadoop.hbase.regionserver.HRegionServer:
Runs every 10000000ms
> 2009-06-17 11:58:55,148 [regionserver/0:0:0:0:0:0:0:0:60021] ERROR org.apache.hadoop.hbase.regionserver.HRegionServer:
Failed init
> java.lang.NullPointerException
>     at org.apache.hadoop.hbase.regionserver.HRegionServer.init(HRegionServer.java:713)
>     at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:431)
>     at java.lang.Thread.run(Thread.java:619)
> 2009-06-17 11:58:55,153 [regionserver/0:0:0:0:0:0:0:0:60021] FATAL org.apache.hadoop.hbase.regionserver.HRegionServer:
Unhandled exception. Aborting...
> java.io.IOException: Region server startup failed
>     at org.apache.hadoop.hbase.regionserver.HRegionServer.convertThrowableToIOE(HRegionServer.java:832)
>     at org.apache.hadoop.hbase.regionserver.HRegionServer.init(HRegionServer.java:751)
>     at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:431)
>     at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
>     at org.apache.hadoop.hbase.regionserver.HRegionServer.init(HRegionServer.java:713)
>     ... 2 more   
> {code}

-- 
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