private void updateMetricsForAllocatedContainer(NodeType type, SchedulerNode node, Container containerAllocated) { QueueMetrics metrics = queue.getMetrics(); if (pending) { // once an allocation is done we assume the application is // running from scheduler's POV. pending = false; metrics.runAppAttempt(applicationId, user); } updateMetrics(applicationId, type, node, containerAllocated, user, queue); }
AppSchedulingInfo.updateMetrics(getApplicationId(), allocation.getAllocationLocalityType(), schedulerContainer.getSchedulerNode(),