this.lightLDAIpPortStr = null; this.applicationContext = applicationContext; this.clock = new SystemClock(); this.runningContainers = new ConcurrentHashMap<>(); this.containerTimeOut = conf.getInt(XLearningConfiguration.XLEARNING_TASK_TIMEOUT, XLearningConfiguration.DEFAULT_XLEARNING_TASK_TIMEOUT);
int logMaxAge = conf.getInt(XLearningConfiguration.XLEARNING_HISTORY_LOG_MAX_AGE_MS, XLearningConfiguration.DEFAULT_XLEARNING_HISTORY_LOG_MAX_AGE_MS); final Clock clock = new SystemClock(); while (!Thread.currentThread().isInterrupted()) { try {
victim2.setSleepAfterKill(); ControlledClock clock = new ControlledClock(new SystemClock()); clock.setTime(0); TaskExecutorServiceForTest taskExecutorService = new TaskExecutorServiceForTest(
public MRAppMaster(ApplicationAttemptId applicationAttemptId, ContainerId containerId, String nmHost, int nmPort, int nmHttpPort, long appSubmitTime) { this(applicationAttemptId, containerId, nmHost, nmPort, nmHttpPort, new SystemClock(), appSubmitTime); }
public MRAppMaster(ApplicationAttemptId applicationAttemptId, ContainerId containerId, String nmHost, int nmPort, int nmHttpPort, long appSubmitTime) { this(applicationAttemptId, containerId, nmHost, nmPort, nmHttpPort, new SystemClock(), appSubmitTime); }
public StreamingContainerManager(LogicalPlan dag) { this(dag, false, new SystemClock()); }
public TaskAttemptFinishingMonitor(EventHandler eventHandler) { super("TaskAttemptFinishingMonitor", new SystemClock()); this.eventHandler = eventHandler; }
public ProportionalCapacityPreemptionPolicy(Configuration config, RMContext context, CapacityScheduler scheduler) { this(config, context, scheduler, new SystemClock()); }
public ProcfsBasedProcessTree(String pid, String procfsDir) { this(pid, procfsDir, new SystemClock()); }
public CgroupsLCEResourcesHandler() { this.controllerPaths = new HashMap<String, String>(); clock = new SystemClock(); }
public CgroupsLCEResourcesHandlerGPU() { this.controllerPaths = new HashMap<String, String>(); clock = new SystemClock(); }
public CgroupsLCEResourcesHandler() { this.controllerPaths = new HashMap<String, String>(); clock = new SystemClock(); }
public CgroupsLCEResourcesHandler() { this.controllerPaths = new HashMap<String, String>(); clock = new SystemClock(); }
protected void registerHeartbeatHandler(Configuration conf) { taskHeartbeatHandler = new TaskHeartbeatHandler(this, new SystemClock(), conf.getInt(MPIConfiguration.MPI_AM_TASK_LISTENER_THREAD_COUNT, MPIConfiguration.DEFAULT_MPI_AM_TASK_LISTENER_THREAD_COUNT)); addService(taskHeartbeatHandler); }
public ContainerAllocationExpirer(Dispatcher d) { super(ContainerAllocationExpirer.class.getName(), new SystemClock()); this.dispatcher = d.getEventHandler(); }
public NodeLivelinessMonitor(Dispatcher d) { super(NodeLivelinessMonitor.class.getSimpleName(), new SystemClock()); this.dispatcher = d.getEventHandler(); }
public FairScheduler() { super(FairScheduler.class.getName()); clock = new SystemClock(); allocsLoader = new AllocationFileLoaderService(); queueMgr = new QueueManager(this); maxRunningEnforcer = new MaxRunningAppsEnforcer(this); }
public FairScheduler() { super(FairScheduler.class.getName()); clock = new SystemClock(); allocsLoader = new AllocationFileLoaderService(); queueMgr = new QueueManager(this); maxRunningEnforcer = new MaxRunningAppsEnforcer(this); }
public ControlledClock() { this(new SystemClock()); setTime(0); } public ControlledClock(Clock actualClock) {
private StreamingContainerManager(CheckpointState checkpointedState, boolean enableEventRecording) { this.vars = checkpointedState.finals; this.clock = new SystemClock(); poolExecutor = Executors.newFixedThreadPool(4); this.plan = checkpointedState.physicalPlan; this.eventBus = new MBassador<>(BusConfiguration.Default(1, 1, 1)); this.journal = new Journal(this); init(enableEventRecording); }