HBASE-19694 The initialization order for a fresh cluster is
incorrect; ADDENDUM Fix compile issue.
This commit is contained in:
parent
d0aff98a67
commit
3787c60cd1
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue