MiniDFSCluster

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total5,576 of 5,5760%590 of 5900%4714711,1371,137176176
startDataNodes(Configuration, int, StorageType[][], boolean, HdfsServerConstants.StartupOption, String[], String[], long[][], long[], boolean, boolean, boolean, Configuration[], int[], int[])5750%920%474710210211
configureNameService(MiniDFSNNTopology.NSConf, int, boolean, boolean, boolean, boolean, HdfsServerConstants.StartupOption, String, int)2390%380%2020484811
initMiniDFSCluster(Configuration, int, StorageType[][], boolean, boolean, boolean, boolean, boolean, HdfsServerConstants.StartupOption, HdfsServerConstants.StartupOption, String[], String[], long[][], long[], String, boolean, boolean, MiniDFSNNTopology, boolean, boolean, boolean, Configuration[], boolean, boolean, int[], int[])2170%240%1313535311
MiniDFSCluster(MiniDFSCluster.Builder)2080%280%1515535311
createNameNode(Configuration, boolean, HdfsServerConstants.StartupOption, String, String, String)1300%120%77242411
configureNameNodes(MiniDFSNNTopology, boolean, Configuration)1290%220%1212242411
shouldWait(DatanodeInfo[], InetSocketAddress)1270%200%1111232311
setupDatanodeAddress(Configuration, boolean, boolean, int, int)1140%100%66202011
setupKerberosConfiguration(Configuration, String, String, String, String, String)1100%20%22262611
addNameNode(Configuration, int)1070%60%44202011
setDataNodeStorageCapacities(int, DataNode, long[][])950%140%88202011
restartDataNode(MiniDFSCluster.DataNodeProperties, boolean)930%20%22191911
initNameNodeConf(Configuration, String, int, String, boolean, boolean, int)920%80%55161611
shutdown(boolean, boolean)920%160%99272711
createNameNodesAndSetConf(MiniDFSNNTopology, boolean, boolean, boolean, boolean, HdfsServerConstants.StartupOption, String)900%80%55181811
copyNameDirs(Collection, Collection, Configuration)880%80%55121211
makeDataNodeDirs(int, StorageType[])860%160%99141411
waitActive(int)860%140%88222211
createPermissionsDiagnosisString(File)810%100%66121211
restartNameNode(int, boolean, String[])630%60%44191911
MiniDFSCluster(int, Configuration, int, boolean, boolean, boolean, HdfsServerConstants.StartupOption, String[], String[], long[])580%n/a11111111
getAllBlockFiles(File)560%120%77131311
getAllBlockMetadataFiles(File)560%120%77131311
initNameNodeAddress(Configuration, String, MiniDFSNNTopology.NNConf)530%n/a117711
getNameNodeDirectory(File, int, int)510%n/a114411
getCheckpointDirectory(File, int, int)510%n/a114411
injectBlocks(int, Iterable, String)510%80%55121211
stopDataNodeForUpgrade(int)500%40%33101011
injectBlocks(int, int, Iterable)500%60%44111111
stopDataNode(int)490%40%33101011
copyKeys(Configuration, Configuration, String, String)440%n/a117711
MiniDFSCluster()420%n/a11121211
isNameNodeUp(int)400%80%559911
printNNs()390%20%224411
createArgs(HdfsServerConstants.StartupOption)380%80%556611
getAllBlockFiles(ExtendedBlock)380%60%447711
formatDataNodeDirs()370%40%335511
readBlockOnDataNode(int, ExtendedBlock)360%100%665511
readBlockOnDataNodeAsBytes(int, ExtendedBlock)360%100%665511
getURIForAuxiliaryPort(int)350%20%22101011
setupNamenodeProvidedConfiguration(Configuration)340%n/a11101011
getNNIndexes(String)320%40%338811
corruptBlockOnDataNodesHelper(ExtendedBlock, boolean)320%40%33121211
waitFirstBRCompleted(int, int)320%60%446611
stopDataNode(String)310%40%337711
getNameNodeInfos(int)300%40%336611
waitClusterUp()300%60%44121211
restartDataNodes(boolean)290%40%335511
isDataNodeUp()290%80%557711
getNameNodeInfos(String)280%40%335511
getURI(int)280%n/a118811
restartDataNode(String)280%40%335511
finalizeCluster(Configuration)270%40%336611
rollEditLogAndTail(int)270%20%225511
copyKey(Configuration, Configuration, String, String, String)260%20%225511
getDataNodes()260%20%225511
shutdownDataNode(int)260%n/a115511
getAllBlockReports(String)250%20%225511
listDataNodes()250%20%224411
getBlockMetadataFile(File, ExtendedBlock)250%n/a113311
getNN(int)230%40%337711
setDataNodeStorageCapacities(int, int, DataNode[], long[][])230%40%335511
getBlockReport(String, int)230%40%334411
getBlockFile(int, ExtendedBlock)230%40%336611
getBlockMetadataFile(int, ExtendedBlock)230%40%336611
addToFile(String, String)230%n/a116611
waitNameNodeUp(int)220%20%226611
getDataNode(int)220%40%335511
finalizeNamenode(NameNode, Configuration)200%20%224411
getFsDatasetTestUtils(int)200%20%223311
waitDatanodeFullyStarted(DataNode, int)200%n/a112211
restartDataNode(int, boolean, boolean)200%40%336611
getNameNodeAuxiliaryPort(int)190%20%226611
static {...}190%20%227711
formatSharedEditsDir(File, int, int)180%n/a111111
startDataNodes(Configuration, int, boolean, HdfsServerConstants.StartupOption, String[], String[], long[], boolean)180%n/a112211
startDataNodes(Configuration, int, boolean, HdfsServerConstants.StartupOption, String[], String[], long[], boolean, boolean)180%n/a112211
shutdownNameNode(int)180%n/a116611
restartNameNodes()180%20%224411
setDataNodesDead()180%20%224411
getProvidedStorageDir(int, int)180%20%224411
waitDatanodeConnectedToActive(DataNode, int)170%n/a112211
isClusterUp()170%40%334411
waitActive()160%20%224411
getStorageDirPath(int, int)160%n/a111111
setNameNodeConf(int, Configuration)150%20%225511
triggerBlockReports()150%20%224411
triggerDeletionReports()150%20%224411
triggerHeartbeats()150%20%224411
determineDfsBaseDir()150%40%335511
getRbwDir(File, String)150%n/a111111
getFinalizedDir(File, String)150%n/a111111
setBlockRecoveryTimeout(long)150%20%223311
shutdownDataNodes()140%20%223311
getHttpUri(int)140%n/a113311
MiniDFSCluster(Configuration, int, HdfsServerConstants.StartupOption)130%n/a112211
MiniDFSCluster(Configuration, int, boolean, String[])130%n/a112211
MiniDFSCluster(Configuration, int, boolean, String[], String[])130%n/a112211
MiniDFSCluster(int, Configuration, int, boolean, boolean, HdfsServerConstants.StartupOption, String[])130%n/a112211
MiniDFSCluster(int, Configuration, int, boolean, boolean, HdfsServerConstants.StartupOption, String[], long[])130%n/a112211
shutdownNameNodes()130%20%223311
stopAndJoinNameNode(NameNode)130%20%227711
getDNCurrentDir(File)130%n/a111111
getBPDir(File, String, String)130%n/a111111
getBlockFile(File, ExtendedBlock)130%n/a112211
getFsDatasetTestUtils(DataNode)120%20%223311
setDataNodeDead(DatanodeID)120%n/a115511
getFileSystem(int)120%n/a112211
getFileSystemFromAuxiliaryPort(int)120%n/a112211
getBPDir(File, String)120%n/a111111
startDataNodes(Configuration, int, boolean, HdfsServerConstants.StartupOption, String[], String[], long[])110%n/a112211
startDataNodes(Configuration, int, boolean, HdfsServerConstants.StartupOption, String[])110%n/a112211
startDataNodes(Configuration, int, boolean, HdfsServerConstants.StartupOption, String[], long[])110%n/a112211
finalizeCluster(int, Configuration)110%n/a112211
getNewFileSystemInstance(int)110%n/a111111
getBaseDirectory()110%n/a111111
checkSingleNameNode()110%20%223311
transitionToActive(int)100%n/a112211
transitionToStandby(int)100%n/a112211
transitionToObserver(int)100%n/a112211
getInstanceStorageDir(int, int)100%n/a111111
getStorageDir(int, int)100%n/a112211
restartNameNode(boolean)90%n/a113311
getNameNodeInfos()80%n/a111111
getNameNodeDirectory(String, int, int)80%n/a111111
getCheckpointDirectory(String, int, int)80%n/a111111
getNamesystem()80%n/a112211
waitForDNDeletions()80%n/a112211
restartNameNode(String[])80%n/a113311
truncateMeta(int, ExtendedBlock, int)80%n/a112211
getNameNodePort(int)70%n/a111111
getNameNodeServicePort(int)70%n/a111111
restartNameNode(int)70%n/a112211
changeGenStampOfBlock(int, ExtendedBlock, long)70%n/a113311
addFileSystem(FileSystem)70%n/a112211
setLeasePeriod(long, long, int)70%n/a112211
getSharedEditsDir(int, int)60%n/a111111
getNameNodeDirectory(int, int)60%n/a111111
getCheckpointDirectory(int, int)60%n/a111111
getURI()60%n/a112211
getNameNode()60%n/a112211
getNameNodeRpc()60%n/a112211
getNamesystem(int)60%n/a111111
getNameNodePort()60%n/a112211
getNameNodeAuxiliaryPort()60%n/a112211
corruptReplica(int, ExtendedBlock)60%n/a112211
corruptReplica(DataNode, ExtendedBlock)60%n/a112211
corruptMeta(int, ExtendedBlock)60%n/a112211
deleteMeta(int, ExtendedBlock)60%n/a112211
restartDataNode(int, boolean)60%n/a111111
getFileSystem()60%n/a112211
getFileSystemFromAuxiliaryPort()60%n/a112211
getNameDirs(int)60%n/a111111
getNameEditsDirs(int)60%n/a111111
setLeasePeriod(long, long)60%n/a112211
getMaterializedReplica(int, ExtendedBlock)60%n/a111111
getMaterializedReplica(DataNode, ExtendedBlock)60%n/a111111
getConfiguration(int)50%n/a111111
getNameNodeRpc(int)50%n/a111111
getNameNode(int)50%n/a111111
shutdown(boolean)50%n/a112211
corruptBlockOnDataNodes(ExtendedBlock)50%n/a111111
corruptBlockOnDataNodesByDeletingBlockFile(ExtendedBlock)50%n/a111111
restartDataNode(MiniDFSCluster.DataNodeProperties)50%n/a111111
waitDataNodeFullyStarted(DataNode)50%n/a112211
restartDataNode(int)50%n/a111111
shutdownCluster(MiniDFSCluster)50%20%223311
lambda$waitDatanodeConnectedToActive$0(DataNode)50%n/a111111
getNumNameNodes()0%n/a111111
shutdown()0%n/a112211
restartDataNodes()0%n/a111111
setWaitSafeMode(boolean)0%n/a112211
getDataDirectory()0%n/a111111
getStoragesPerDatanode()0%n/a111111
getInstanceId()0%n/a111111
close()0%n/a112211