HBASE-19694 The initialization order for a fresh cluster is

incorrect; ADDENDUM Fix compile issue.
This commit is contained in:
Michael Stack 2018-01-11 14:37:18 -08:00
parent d0aff98a67
commit 3787c60cd1
No known key found for this signature in database
GPG Key ID: 9816C7FC8ACC93D2
1 changed files with 2 additions and 2 deletions

View File

@ -771,8 +771,8 @@ public class HMaster extends HRegionServer implements MasterServices {
* <li>Handle either fresh cluster start or master failover</li> * <li>Handle either fresh cluster start or master failover</li>
* </ol> * </ol>
*/ */
private void finishActiveMasterInitialization(MonitoredTask status) private void finishActiveMasterInitialization(MonitoredTask status) throws IOException,
throws IOException, InterruptedException, KeeperException, CoordinatedStateException { InterruptedException, KeeperException, CoordinatedStateException, ReplicationException {
Thread zombieDetector = new Thread(new InitializationMonitor(this), Thread zombieDetector = new Thread(new InitializationMonitor(this),
"ActiveMasterInitializationMonitor-" + System.currentTimeMillis()); "ActiveMasterInitializationMonitor-" + System.currentTimeMillis());
zombieDetector.setDaemon(true); zombieDetector.setDaemon(true);