FileSystemRMStateStore

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,592 of 1,5920%90 of 900%1081084064066363
loadRMDTSecretManagerState(RMStateStore.RMState)1390%140%88353511
storeOrUpdateRMDelegationTokenState(RMDelegationTokenIdentifier, Long, boolean)830%80%55212111
processDirectoriesOfFiles(FileSystemRMStateStore.RMStateFileProcessor, Path)810%100%66131311
initInternal(Configuration)750%n/a11141411
loadRMAppState(RMStateStore.RMState)650%60%44161611
startInternal()630%40%33141411
checkAndResumeUpdateOperation(Path)600%60%44111111
getAndIncrementEpoch()570%20%22151511
loadProxyCAManagerState(RMStateStore.RMState)570%40%33161611
storeProxyCACertState(X509Certificate, PrivateKey)490%40%33111111
loadAMRMTokenSecretManagerState(RMStateStore.RMState)470%60%44141411
writeFile(Path, byte[], boolean)440%20%22121211
storeApplicationStateInternal(ApplicationId, ApplicationStateData)390%n/a11111111
storeApplicationAttemptStateInternal(ApplicationAttemptId, ApplicationAttemptStateData)370%n/a11111111
updateApplicationAttemptStateInternal(ApplicationAttemptId, ApplicationAttemptStateData)370%n/a11111111
updateApplicationStateInternal(ApplicationId, ApplicationStateData)360%n/a11101011
storeRMDTMasterKeyState(DelegationKey)320%n/a118811
storeReservationState(YarnProtos.ReservationAllocationStateProto, String, String)290%n/a117711
loadVersion()280%20%228811
storeVersion()270%20%227711
storeOrUpdateAMRMTokenSecretManagerState(AMRMTokenSecretManagerState, boolean)270%20%229911
readFile(Path, long)260%n/a116611
setUnreadableBySuperuserXattrib(Path)260%60%445511
removeApplicationAttemptInternal(ApplicationAttemptId)220%n/a116611
loadState()210%n/a117711
loadReservationSystemState(RMStateStore.RMState)210%n/a118811
removeReservationState(String, String)210%n/a115511
checkAndRemovePartialRecord(Path)190%20%225511
removeApplicationStateInternal(ApplicationStateData)190%n/a116611
updateFile(Path, byte[], boolean)190%n/a114411
replaceFile(Path, Path)180%20%225511
removeRMDelegationTokenState(RMDelegationTokenIdentifier)170%n/a115511
removeRMDTMasterKeyState(DelegationKey)170%n/a115511
static {...}150%20%225511
removeApplication(ApplicationId)140%20%224411
deleteFile(Path)130%20%223311
deleteStore()100%20%223311
writeFileWithRetries(Path, byte[], boolean)100%n/a113311
renameFileWithRetries(Path, Path)100%n/a112211
FileSystemRMStateStore()90%n/a113311
getAppAttemptDir(ApplicationAttemptId)90%n/a112211
checkAndRemovePartialRecordWithRetries(Path)90%n/a112211
createFileWithRetries(Path)90%n/a112211
existsWithRetries(Path)90%n/a112211
readFileWithRetries(Path, long)90%n/a112211
listStatusWithRetries(Path, PathFilter)90%n/a112211
mkdirsWithRetries(Path)80%n/a113311
deleteFileWithRetries(Path)80%n/a113311
getFileStatusWithRetries(Path)80%n/a112211
listStatusWithRetries(Path)80%n/a112211
getFileStatus(Path)80%n/a113311
closeWithRetries()70%n/a113311
storeRMDelegationTokenState(RMDelegationTokenIdentifier, Long)60%n/a112211
updateRMDelegationTokenState(RMDelegationTokenIdentifier, Long)60%n/a112211
getAppDir(Path, ApplicationId)60%n/a111111
getAppDir(ApplicationId)60%n/a111111
renameFile(Path, Path)60%n/a111111
getNodePath(Path, String)60%n/a111111
createFile(Path)50%n/a111111
closeInternal()30%n/a112211
getNumRetries()30%n/a111111
getRetryInterval()30%n/a111111
getCurrentVersion()20%n/a111111