@Override public void start(Boolean isLeader) throws IOException { super.start(isLeader); }
@Override public void start(Boolean isLeader) throws IOException { super.start(isLeader); if (isLeader) { getExecutorService().submit(mClusterMetricsUpdater); } }
@Override public void start(Boolean isLeader) throws IOException { super.start(isLeader); if (isLeader) { mLostWorkerDetectionService = getExecutorService().submit(new HeartbeatThread( HeartbeatContext.MASTER_LOST_WORKER_DETECTION, new LostWorkerDetectionHeartbeatExecutor(), (int) Configuration.getMs(PropertyKey.MASTER_WORKER_HEARTBEAT_INTERVAL))); } }
@Override public void start(Boolean isLeader) throws IOException { super.start(isLeader); if (isLeader) { getExecutorService().submit(new HeartbeatThread(HeartbeatContext.MASTER_CHECKPOINT_SCHEDULING, new CheckpointSchedulingExecutor(this, mFileSystemMaster), (int) Configuration.getMs(PropertyKey.MASTER_LINEAGE_CHECKPOINT_INTERVAL_MS))); getExecutorService().submit(new HeartbeatThread(HeartbeatContext.MASTER_FILE_RECOMPUTATION, new RecomputeExecutor(new RecomputePlanner(mLineageStore, mFileSystemMaster), mFileSystemMaster), (int) Configuration.getMs(PropertyKey.MASTER_LINEAGE_RECOMPUTE_INTERVAL_MS))); } }
@Override public void start(Boolean isPrimary) throws IOException { super.start(isPrimary); mWorkerConfigStore.reset(); mMasterConfigStore.reset();
@Override public void start(Boolean isPrimary) throws IOException { super.start(isPrimary); if (isPrimary) { LOG.info("Starting fs master as primary");