M src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Add region name to warning log message (w/o it message is no good).
M src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
Add src of split message else need to deduce where it came from by looking
elsewhere.
M src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Updated log messages to include region and where appropritate source
server name; debug hard w/o
Changed regionOnline and regionOffline to check for unexpected
states and log warnings rather than proceed regardless.
Added in fix for concurrent balance+split; split message now
updates regionsintransition where previous it did not.
Remove checkRegion method. Its a reimplementation of
what regionOnline and regionOffline do only less comprehensive
regards what gets updated (this.regions + this.servers rather
than this.regions, this.servers and regionsInTransition)
That they were less comprehensive is root of this bug.
M src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Make the message about why we are not running balancer richer
(print out how many reigons in transition and more of the
regionsintrnasition list).
M src/main/java/org/apache/hadoop/hbase/executor/RegionTransitionData.java
Javadoc and minor formatting.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001911 13f79535-47bb-0310-9956-ffa450edef68
M src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
On regionServerReport, if we get a report from an 'unknown' regionserver,
we used to tell it stop itself. Now, if 'unknown' server AND
this master did not start the cluster, its joining the cluster, then
treat the report as a regionServerStart and register the incoming
server rather than tell it shutdown.
M src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Pass the freshClusterStartup flag to ServerManager.
Add more executors for opening and closing. On cluster startup a
master shouldn't be bottleneck clearning the server opens.
Expose the run-balancer method so can make it available in
ServeAdmin.
M src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Minor formatting and javadoc
M src/main/java/org/apache/hadoop/hbase/ipc/HBaseRPCProtocolVersion.java
Upped rpc version number because of new balancer addition (and because
we didn't do it when we put in new master).
M src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java
Added balance method.
M src/main/resources/hbase-default.xml
Change how ofter we check in from every 3 seconds to every 5 seconds.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001140 13f79535-47bb-0310-9956-ffa450edef68
M src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Removed reentrant lock that spanned moving region into
regionsintransition and the getting of lock on state object. It
was a bad idea. I found it actually deadlocked. It shouldn't be needed.
The call to assign will fail if the state instance is not of the right
'state' type.
Run a thread per server parcelling out region assignments so we assign
across the cluster concurrently rather than in series as we were doing.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999237 13f79535-47bb-0310-9956-ffa450edef68
M conf/log4j.properties
Make ZKW log at INFO-level
M src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Log message cleanup.
M src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Remove excessive hostname+port qualifier on master for zk messages
M src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
Log message cleanup
M src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
Format the ServerMonitor message.
M src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Remove excessive hostname on zk message id; just add port
M src/main/java/org/apache/hadoop/hbase/zookeeper/ZKAssign.java
Cleanup of messages.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999057 13f79535-47bb-0310-9956-ffa450edef68