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

nkeywal commented on HBASE-4610:
--------------------------------

There is a side effect: the mini cluster needs 4,5 seconds to start

{noformat}
2011-12-09 01:30:37,883 INFO  [SplitLogWorker-localhost,39827,1323423035986] 
regionserver.SplitLogWorker(140): SplitLogWorker localhost,39827,1323423035986 
starting
2011-12-09 01:30:37,961 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:38,062 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:38,163 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:38,264 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:38,365 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:38,467 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:38,568 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:38,668 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:38,769 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:38,870 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:38,971 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:39,072 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:39,173 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:39,274 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:39,375 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:39,476 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:39,577 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:39,678 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:39,779 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:39,881 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:39,981 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:40,082 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:40,183 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:40,284 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:40,385 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:40,486 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:40,587 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:40,688 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:40,789 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:40,890 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:40,991 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:41,092 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:41,194 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:41,295 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:41,395 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:41,496 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:41,598 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:41,698 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:41,800 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:41,900 INFO  [Master:0;localhost,35818,1323423035631] 
master.ServerManager(557): Waiting on regionserver(s) count to settle; 
currently=1
2011-12-09 01:30:49,048 INFO  [pool-1-thread-1] hbase.HBaseTestingUtility(529): 
Starting up minicluster with 1 master(s) and 2 regionserver(s) and 2 datanode(s)
{noformat}

I believe that we could set the number of 
hbase.master.wait.on.regionservers.maxtostart to the exact number of region we 
want to start. Would be nice not to have the first sleep as well.

                
> Port HBASE-3380 (Master failover can split logs of live servers) to 92/trunk 
> (definitely bring in config params, decide if we need to do more to fix the 
> bug)
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4610
>                 URL: https://issues.apache.org/jira/browse/HBASE-4610
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 4610.txt
>
>
> Over in HBASE-3380 we were having some TestMasterFailover flakiness.  We 
> added some more config parameters to better control the master startup loop 
> where it waits for RS to heartbeat in.  We had thought at the time that 92 
> would have a different solution but it is still relying on heartbeats to 
> learn about RSs.
> For now, we should definitely bring these config params into 92/trunk.  
> Otherwise this is an incompatible regression and adding these will also make 
> things like what was just reported over in HBASE-4603 trivial to fix in an 
> optimal way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to