FairScheduler

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,965 of 2,9650%331 of 3310%2532538138138282
handle(SchedulerEvent)2800%390%2626898911
initScheduler(Configuration)2110%120%77484811
addApplication(ApplicationId, String, String, boolean, ApplicationPlacementContext)2040%360%1919494911
allocate(ApplicationAttemptId, List, List, List, List, List, ContainerUpdates)1720%140%88505011
removeApplicationAttempt(ApplicationAttemptId, RMAppAttemptState, boolean)1170%140%88313111
resolveReservationQueueName(String, ApplicationId, ReservationId, boolean)1040%140%88262611
moveApplication(ApplicationId, String)1010%120%77252511
addApplicationAttempt(ApplicationAttemptId, boolean, boolean)940%60%44232311
attemptScheduling(FSSchedulerNode)910%180%1010313111
removeNode(RMNode)900%60%44262611
completedContainerInternal(RMContainer, ContainerStatus, RMContainerEventType)890%120%77262611
validateConf(FairSchedulerConfiguration)710%120%77191911
update()710%80%55191911
continuousSchedulingAttempt()670%80%55191911
executeMove(SchedulerApplication, FSAppAttempt, FSLeafQueue, FSLeafQueue)620%120%77181811
validateResourceRequests(List, FSLeafQueue)550%60%44141411
verifyMoveDoesNotViolateConstraints(FSAppAttempt, FSLeafQueue, FSLeafQueue)550%60%44151511
applyChildDefaults()520%100%66151511
findLowestCommonAncestorQueue(FSQueue, FSQueue)510%100%66101011
assignPreemptedContainers(FSSchedulerNode)460%100%66121211
setQueueAcls(Map)450%20%22111111
addNode(List, RMNode)440%n/a11121211
FairScheduler()410%n/a119911
preValidateMoveApplication(ApplicationId, String)390%40%33101011
serviceStop()380%80%55131311
serviceInit(Configuration)350%60%449911
shouldAttemptPreemption()340%40%337711
getPlanQueues()340%40%337711
getMaximumResourceCapability(String)330%80%55111111
nodeUpdate(RMNode)320%n/a119911
startSchedulerThreads()320%40%33101011
checkAccess(UserGroupInformation, QueueACL, String)290%20%227711
dumpSchedulerState()280%n/a11101011
reinitialize(Configuration, RMContext)240%n/a11111111
shouldContinueAssigning(int, Resource, Resource)230%80%555511
updateNodeResource(RMNode, ResourceOption)230%n/a117711
handleMoveToPlanQueue(String)220%40%334411
removeQueue(String)200%40%335511
static {...}200%n/a117711
getQueueInfo(String, boolean, boolean)190%20%223311
setEntitlement(String, QueueEntitlement)190%20%225511
getAppsInQueue(String)180%20%226611
removeApplication(ApplicationId, RMAppState)170%20%225511
killContainer(RMContainer)150%n/a115511
rejectApplicationWithMessage(ApplicationId, String)150%n/a113311
createPreemptionThread()150%n/a113311
getDefaultQueueForPlanQueue(String)140%n/a113311
getQueueUserAclInfo()140%n/a115511
updateReservationThreshold()120%n/a115511
updateRootQueueMetrics()100%n/a114411
getNormalizedResource(Resource, Resource)90%n/a111111
isAtLeastReservationThreshold(ResourceCalculator, Resource)80%n/a112211
getFSSchedulerNode(NodeId)60%n/a111111
getNumNodesInRack(String)50%n/a111111
getSchedulerApp(ApplicationAttemptId)50%n/a111111
serviceStart()50%n/a113311
updateApplicationPriority(Priority, ApplicationId, SettableFuture, UserGroupInformation)50%n/a111111
getContainerTokenSecretManager()40%n/a111111
setRMContext(RMContext)40%n/a112211
getNumClusterNodes()40%n/a111111
getSchedulingResourceTypes()40%n/a112211
getContext()30%n/a111111
getRMContext()30%n/a111111
getConf()30%n/a111111
getQueueManager()30%n/a111111
isSizeBasedWeight()30%n/a111111
getIncrementResourceCapability()30%n/a111111
getNodeLocalityThreshold()30%n/a111111
getRackLocalityThreshold()30%n/a111111
getNodeLocalityDelayMs()30%n/a111111
getRackLocalityDelayMs()30%n/a111111
isContinuousSchedulingEnabled()30%n/a111111
getContinuousSchedulingSleepMs()30%n/a111111
getRootQueueMetrics()30%n/a111111
getAllocationConfiguration()30%n/a111111
getReservableNodesRatio()30%n/a111111
getNMHeartbeatInterval()30%n/a111111
getSchedulerReadLock()30%n/a111111
isNoTerminalRuleCheck()30%n/a111111
getResourceCalculator()0%n/a111111
checkAndGetApplicationLifetime(String, long, RMAppImpl)0%n/a111111
recover(RMStateStore.RMState)0%n/a111111