RMAppAttemptImpl

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,522 of 2,5220%126 of 1260%1361365475477070
static {...}6840%20%22828211
rememberTargetTransitionsAndStoreState(RMAppAttemptEvent, Object, RMAppAttemptState, RMAppAttemptState)1590%100%99424211
RMAppAttemptImpl(ApplicationAttemptId, RMContext, YarnScheduler, ApplicationMasterService, ApplicationSubmissionContext, Configuration, List, RMApp, BlacklistManager)1550%n/a11454511
recover(RMStateStore.RMState)1290%100%66303011
handle(RMAppAttemptEvent)1150%100%66191911
pullJustFinishedContainers()950%100%66232311
amContainerFinished(RMAppAttemptImpl, RMAppAttemptContainerFinishedEvent)590%60%44191911
getDiagnosticsLimitKCOrThrow(Configuration)570%20%22151511
getAMRMTokenKeyId()550%40%33111111
transferStateFromAttempt(RMAppAttempt)530%40%33131311
sendFinishedContainersToNM(Map)530%40%33121211
shouldCountTowardsMaxAttemptRetry()510%140%88111111
getAMContainerCrashedDiagnostics(RMAppAttemptContainerFinishedEvent)490%20%22131311
setTrackingUrlToAHSPage(RMAppAttemptState)450%20%228811
createApplicationAttemptReport()400%20%229911
recoverAppAttemptCredentials(Credentials, RMAppAttemptState)380%120%779911
setTrackingUrlToRMAppPage(RMAppAttemptState)360%20%227711
createClientToken(String)340%40%339911
getApplicationResourceUsageReport()330%20%22121211
getJustFinishedContainers()310%20%227711
addAMNodeToBlackList(NodeId)290%20%225511
storeAttempt()280%n/a115511
addJustFinishedContainer(RMAppAttemptImpl, RMAppAttemptContainerFinishedEvent)270%20%227711
getDiagnostics()240%40%335511
updateInfoOnAMUnregister(RMAppAttemptEvent)220%n/a116611
getBlacklistedNodes()200%40%337711
getTrackingUrl()180%20%224411
sendFinishedAMContainerToNM(NodeId, ContainerId)170%n/a114411
setAMContainerCrashedDiagnosticsAndExitStatus(RMAppAttemptContainerFinishedEvent)150%n/a114411
removeCredentials(RMAppAttemptImpl)150%20%226611
RMAppAttemptImpl(ApplicationAttemptId, RMContext, YarnScheduler, ApplicationMasterService, ApplicationSubmissionContext, Configuration, List, RMApp)140%n/a112211
getAMExpiredDiagnostics(RMAppAttemptEvent)140%n/a113311
getAppAttemptState()130%n/a113311
getWebProxyBase()130%n/a113311
setAMRMToken(Token)130%n/a115511
getState()130%n/a113311
getPreviousState()130%n/a113311
launchAttempt()120%n/a113311
getFinalApplicationStatus()110%n/a113311
getHost()110%n/a113311
getRpcPort()110%n/a113311
getOriginalTrackingUrl()110%n/a113311
getAMRMToken()110%n/a113311
getAMContainerExitStatus()110%n/a113311
getProgress()110%n/a113311
getJustFinishedContainersReference()110%n/a113311
getFinishedContainersSentToAMReference()110%n/a113311
registerClientToken()110%20%224411
getStartTime()110%n/a113311
getFinishTime()110%n/a113311
rememberTargetTransitions(RMAppAttemptEvent, Object, RMAppAttemptState)100%n/a114411
sanitizeTrackingUrl(String)100%40%331111
setFinishTime(long)100%n/a114411
invalidateAMHostAndPort()70%n/a113311
retryFetchingAMContainer(RMAppAttemptImpl)70%n/a113311
attemptLaunched()70%n/a112211
appendDiagnostics(CharSequence)60%n/a112211
createApplicationAttemptState()60%n/a112211
setMasterContainer(Container)0%n/a112211
updateAMLaunchDiagnostics(String)0%n/a112211
setRecoveredFinalState(RMAppAttemptState)0%n/a112211
getAppAttemptId()0%n/a111111
getSubmissionContext()0%n/a111111
getClientTokenMasterKey()0%n/a111111
getMasterContainer()0%n/a111111
getAMBlacklistManager()0%n/a111111
getRMAppAttemptMetrics()0%n/a111111
getRecoveredFinalState()0%n/a111111
getUnexpectedAMRegisteredDiagnostics()0%n/a111111
onInvalidTranstion(RMAppAttemptEventType, RMAppAttemptState)0%n/a111111