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-3122) NPE in master.AssignmentManager if all region servers shut down
Date Tue, 19 Oct 2010 05:14:27 GMT

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

stack commented on HBASE-3122:
------------------------------

This issue is a little more involved.  The kernel of the issue is what to do if no servers
in the cluster when a shutdownserverhandler is running?  ShutdownServerHandler can't complete
if not root or meta assigned.  I'm thinking that SSH should just hang around.  Off in assign,
we should check online servers and if none, then hold (unless master is asked shutdown). 
The hold would be after the server's logs had been split.

> NPE in master.AssignmentManager if all region servers shut down
> ---------------------------------------------------------------
>
>                 Key: HBASE-3122
>                 URL: https://issues.apache.org/jira/browse/HBASE-3122
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.0
>            Reporter: Andrew Purtell
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.90.0
>
>
> 10/10/18 16:26:44 INFO catalog.CatalogTracker: acer,60020,1287443908850 carrying .META.;
unsetting .META. location
> 10/10/18 16:26:44 INFO catalog.CatalogTracker: Current cached META location is not valid,
resetting
> 10/10/18 16:26:44 INFO handler.ServerShutdownHandler: Splitting logs for acer,60020,1287443908850
> 10/10/18 16:26:44 INFO zookeeper.ZKUtil: hconnection-0x12bc1a2f0a60001 Set watcher on
existing znode /hbase/root-region-server
> 10/10/18 16:26:44 INFO catalog.RootLocationEditor: Unsetting ROOT region location in
ZooKeeper
> 10/10/18 16:26:44 DEBUG zookeeper.ZKAssign: master:60000-0x12bc1a2f0a60000 Creating (or
updating) unassigned node for 70236052 with OFFLINE state
> 10/10/18 16:26:44 WARN master.LoadBalancer: Wanted to do random assignment but no servers
to assign to
> 10/10/18 16:26:44 ERROR executor.EventHandler: Caught throwable while processing event
M_SERVER_SHUTDOWN
> java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.master.LoadBalancer$RegionPlan.toString(LoadBalancer.java:595)
> 	at java.lang.String.valueOf(String.java:2826)
> 	at java.lang.StringBuilder.append(StringBuilder.java:115)
> 	at org.apache.hadoop.hbase.master.AssignmentManager.getRegionPlan(AssignmentManager.java:803)
> 	at org.apache.hadoop.hbase.master.AssignmentManager.getRegionPlan(AssignmentManager.java:777)
> 	at org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:720)
> 	at org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:640)
> 	at org.apache.hadoop.hbase.master.AssignmentManager.assignRoot(AssignmentManager.java:922)
> 	at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.process(ServerShutdownHandler.java:97)
> 	at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:150)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)

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