FairScheduler

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,467 of 3,4670%331 of 3310%2532538138138282
handle(SchedulerEvent)3520%390%2626898911
addApplication(ApplicationId, String, String, boolean, ApplicationPlacementContext)2560%360%1919494911
allocate(ApplicationAttemptId, List, List, List, List, List, ContainerUpdates)2130%140%88505011
initScheduler(Configuration)2130%120%77484811
removeApplicationAttempt(ApplicationAttemptId, RMAppAttemptState, boolean)1480%140%88313111
moveApplication(ApplicationId, String)1330%120%77252511
resolveReservationQueueName(String, ApplicationId, ReservationId, boolean)1320%140%88262611
validateConf(FairSchedulerConfiguration)1170%120%77191911
completedContainerInternal(RMContainer, ContainerStatus, RMContainerEventType)1160%120%77262611
removeNode(RMNode)1050%60%44262611
addApplicationAttempt(ApplicationAttemptId, boolean, boolean)1030%60%44232311
attemptScheduling(FSSchedulerNode)990%180%1010313111
verifyMoveDoesNotViolateConstraints(FSAppAttempt, FSLeafQueue, FSLeafQueue)790%60%44151511
continuousSchedulingAttempt()760%80%55191911
update()710%80%55191911
executeMove(SchedulerApplication, FSAppAttempt, FSLeafQueue, FSLeafQueue)700%120%77181811
validateResourceRequests(List, FSLeafQueue)610%60%44141411
preValidateMoveApplication(ApplicationId, String)550%40%33101011
addNode(List, RMNode)530%n/a11121211
applyChildDefaults()520%100%66151511
findLowestCommonAncestorQueue(FSQueue, FSQueue)510%100%66101011
assignPreemptedContainers(FSSchedulerNode)460%100%66121211
setQueueAcls(Map)450%20%22111111
dumpSchedulerState()430%n/a11101011
FairScheduler()420%n/a119911
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
removeQueue(String)280%40%335511
getQueueInfo(String, boolean, boolean)270%20%223311
setEntitlement(String, QueueEntitlement)270%20%225511
static {...}260%n/a117711
reinitialize(Configuration, RMContext)240%n/a11111111
removeApplication(ApplicationId, RMAppState)230%20%225511
shouldContinueAssigning(int, Resource, Resource)230%80%555511
getDefaultQueueForPlanQueue(String)230%n/a113311
updateNodeResource(RMNode, ResourceOption)230%n/a117711
handleMoveToPlanQueue(String)220%40%334411
killContainer(RMContainer)210%n/a115511
getAppsInQueue(String)180%20%226611
rejectApplicationWithMessage(ApplicationId, String)150%n/a113311
createPreemptionThread()150%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