hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George" <larsgeo...@apache.org>
Subject Re: Review Request: HBASE-1748 ClusterStatus needs to print out who has master role
Date Mon, 14 Jun 2010 07:38:29 GMT


> On 2010-06-11 16:39:32, stack wrote:
> > I tried the patch.  I'm not sure its working.  I started cluster with one master.
 After startup, I brought up a second master.  I killed first.  Eventually second assumed
master role.  I restarted the killed.  I tried to access the killed master.  I see in logs
that its blocked waiting to grab lease in zk so it can assume master role.  I'd expect that
accessing this server would give redirect me to the second master, but all I get is "refusing
connections".  If I dump out 'status "detailed"' in shell, I don't see anything about who
is master.  This patch might be messing up hbase.css too.  With it in place, I seemed to lose
the blue border on everything.  I just tried w/o and blue border came back.
> 
> Lars George wrote:
>     Thanks for testing! We need to sort this out obviously. Why CSS should be affected
I do not know, none of the JSP's were touched. I could only imagine that the redirect has
some adverse affect? So you do not see the restarted and now standby master redirecting to
the new one but instead simply keeps hanging with a timeout or does it print an error message.
>     
>     I am hoping to be able to replace one of my clusters with 0.20.5 and will backport
the patch to it to be able to test properly. I keep this ticket open until there was a proper
in-place test working successful.

Michael,

Should we also open an issue for all backup masters to list themselves in ZK so that we can
print out their names as part of the cluster status?


- Lars


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.hbase.org/r/162/#review200
-----------------------------------------------------------


On 2010-06-07 23:55:54, Lars George wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://review.hbase.org/r/162/
> -----------------------------------------------------------
> 
> (Updated 2010-06-07 23:55:54)
> 
> 
> Review request for hbase.
> 
> 
> Summary
> -------
> 
> HBASE-1748 ClusterStatus needs to print out who has master role
> 
> Please have a look, I was not able to test (yet) on a single machine. Will try on cluster
later but wanted to get a quick feedback. 
> 
> Also upped VERSION in ClusterStatus, is that OK or not needed?
> 
> 
> Diffs
> -----
> 
>   src/main/java/org/apache/hadoop/hbase/ClusterStatus.java d102643 
>   src/main/java/org/apache/hadoop/hbase/master/HMaster.java 5946eee 
>   src/main/java/org/apache/hadoop/hbase/util/InfoServer.java 7a3d4f9 
>   src/main/java/org/apache/hadoop/hbase/util/MasterLocatorFilter.java PRE-CREATION 
> 
> Diff: http://review.hbase.org/r/162/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Lars
> 
>


Mime
View raw message