|
Rename Method private recoverTargets(success int[], targetsStatus boolean[], toRecoverLen int) : void renamed to private reconstructTargets(success int[], targetsStatus boolean[], toReconstructLen int) : void in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker.ReconstructAndTransferBlock |
From |
To |
|
Rename Method private readMinimumStripedData4Recovery(success int[], recoverLength int, corruptionMap Map<ExtendedBlock,Set<DatanodeInfo>>) : int[] renamed to private readMinimumStripedData4Reconstruction(success int[], reconstructLength int, corruptionMap Map<ExtendedBlock,Set<DatanodeInfo>>) : int[] in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker.ReconstructAndTransferBlock |
From |
To |
|
Rename Method private waitForRecoveryFinished(file Path, groupSize int) : LocatedBlocks renamed to private waitForReconstructionFinished(file Path, groupSize int) : LocatedBlocks in class org.apache.hadoop.hdfs.TestReconstructStripedFile |
From |
To |
|
Rename Method public convertBlockECRecoveryInfo(blockEcRecoveryInfoProto BlockECRecoveryInfoProto) : BlockECRecoveryInfo renamed to public convertBlockECReconstructionInfo(blockEcReconstructionInfoProto BlockECReconstructionInfoProto) : BlockECReconstructionInfo in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Rename Method private assertFileBlocksRecovery(fileName String, fileLen int, type RecoveryType, toRecoverBlockNum int) : void renamed to private assertFileBlocksReconstruction(fileName String, fileLen int, type ReconstructionType, toRecoverBlockNum int) : void in class org.apache.hadoop.hdfs.TestReconstructStripedFile |
From |
To |
|
Rename Method private initializeStripedBlkRecoveryThreadPool(num int) : void renamed to private initializeStripedBlkReconstructionThreadPool(num int) : void in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker |
From |
To |
|
Change Parameter Type blockEcRecoveryInfo : BlockECRecoveryInfo to blockEcRecoveryInfo : BlockECReconstructionInfo in method public convertBlockECRecoveryInfo(blockEcRecoveryInfo BlockECReconstructionInfo) : BlockECReconstructionInfoProto in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Parameter Type blockECRecoveryInfoList : Collection<BlockECRecoveryInfo> to blockECReconstructionInfoList : Collection<BlockECReconstructionInfo> in method public BlockECReconstructionCommand(action int, blockECReconstructionInfoList Collection<BlockECReconstructionInfo>) in class org.apache.hadoop.hdfs.server.protocol.BlockECReconstructionCommand |
From |
To |
|
Change Parameter Type blkECRecoveryInfo1 : BlockECRecoveryInfo to blkECRecoveryInfo1 : BlockECReconstructionInfo in method private assertBlockECRecoveryInfoEquals(blkECRecoveryInfo1 BlockECReconstructionInfo, blkECRecoveryInfo2 BlockECReconstructionInfo) : void in class org.apache.hadoop.hdfs.protocolPB.TestPBHelper |
From |
To |
|
Change Parameter Type blkECRecoveryCmd : BlockECRecoveryCommand to blkECReconstructionCmd : BlockECReconstructionCommand in method public convert(blkECReconstructionCmd BlockECReconstructionCommand) : BlockECReconstructionCommandProto in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Parameter Type ecTasks : Collection<BlockECRecoveryInfo> to ecTasks : Collection<BlockECReconstructionInfo> in method public processErasureCodingTasks(ecTasks Collection<BlockECReconstructionInfo>) : void in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker |
From |
To |
|
Change Parameter Type blkECRecoveryCmdProto : BlockECRecoveryCommandProto to blkECReconstructionCmdProto : BlockECReconstructionCommandProto in method public convert(blkECReconstructionCmdProto BlockECReconstructionCommandProto) : BlockECReconstructionCommand in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Parameter Type type : RecoveryType to type : ReconstructionType in method private generateErrors(corruptTargets Map<ExtendedBlock,DataNode>, type ReconstructionType) : int in class org.apache.hadoop.hdfs.TestReconstructStripedFile |
From |
To |
|
Change Parameter Type blockEcRecoveryInfoProto : BlockECRecoveryInfoProto to blockEcReconstructionInfoProto : BlockECReconstructionInfoProto in method public convertBlockECReconstructionInfo(blockEcReconstructionInfoProto BlockECReconstructionInfoProto) : BlockECReconstructionInfo in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Parameter Type type : RecoveryType to type : ReconstructionType in method private generateDeadDnIndices(type ReconstructionType, deadNum int, indices byte[]) : int[] in class org.apache.hadoop.hdfs.TestReconstructStripedFile |
From |
To |
|
Change Parameter Type type : RecoveryType to type : ReconstructionType in method private assertFileBlocksReconstruction(fileName String, fileLen int, type ReconstructionType, toRecoverBlockNum int) : void in class org.apache.hadoop.hdfs.TestReconstructStripedFile |
From |
To |
|
Change Parameter Type recoveryInfo : BlockECRecoveryInfo to reconstructionInfo : BlockECReconstructionInfo in method package ReconstructAndTransferBlock(reconstructionInfo BlockECReconstructionInfo) in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker.ReconstructAndTransferBlock |
From |
To |
|
Change Parameter Type blkECRecoveryInfo2 : BlockECRecoveryInfo to blkECRecoveryInfo2 : BlockECReconstructionInfo in method private assertBlockECRecoveryInfoEquals(blkECRecoveryInfo1 BlockECReconstructionInfo, blkECRecoveryInfo2 BlockECReconstructionInfo) : void in class org.apache.hadoop.hdfs.protocolPB.TestPBHelper |
From |
To |
|
Rename Variable replicaAfterRecovery : File to replicaAfterReconstruction : File in method private assertFileBlocksReconstruction(fileName String, fileLen int, type ReconstructionType, toRecoverBlockNum int) : void in class org.apache.hadoop.hdfs.TestReconstructStripedFile |
From |
To |
|
Rename Variable blkECRecoveryCmd : BlockECRecoveryCommand to blkECReconstructionCmd : BlockECReconstructionCommand in method public testBlockECRecoveryCommand() : void in class org.apache.hadoop.hdfs.protocolPB.TestPBHelper |
From |
To |
|
Rename Variable blkECRecoveryInfos : Collection<BlockECRecoveryInfo> to blkECReconstructionInfos : Collection<BlockECReconstructionInfo> in method public convert(blkECReconstructionCmdProto BlockECReconstructionCommandProto) : BlockECReconstructionCommand in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Rename Variable metadataAfterRecovery : File to metadataAfterReconstruction : File in method private assertFileBlocksReconstruction(fileName String, fileLen int, type ReconstructionType, toRecoverBlockNum int) : void in class org.apache.hadoop.hdfs.TestReconstructStripedFile |
From |
To |
|
Rename Variable recoveryInfo : BlockECRecoveryInfo to reconstructionInfo : BlockECReconstructionInfo in method public processErasureCodingTasks(ecTasks Collection<BlockECReconstructionInfo>) : void in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker |
From |
To |
|
Rename Variable blockECRecoveryInfoProto : BlockECRecoveryInfoProto to blkECRInfoProto : BlockECReconstructionInfoProto in method public convert(blkECReconstructionCmdProto BlockECReconstructionCommandProto) : BlockECReconstructionCommand in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Rename Variable recovery : List<BlockECRecoveryInfo> to reconstruction : List<BlockECReconstructionInfo> in method private doTestMissingStripedBlock(numOfMissed int, numOfBusy int) : void in class org.apache.hadoop.hdfs.server.namenode.TestReconstructStripedBlocks |
From |
To |
|
Rename Variable blockECRecoveryInfos : Collection<BlockECRecoveryInfo> to blockECRInfos : Collection<BlockECReconstructionInfo> in method public convert(blkECReconstructionCmd BlockECReconstructionCommand) : BlockECReconstructionCommandProto in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Rename Variable blockECRecoveryinfoList : List<BlockECRecoveryInfoProto> to blkECRInfoList : List<BlockECReconstructionInfoProto> in method public convert(blkECReconstructionCmdProto BlockECReconstructionCommandProto) : BlockECReconstructionCommand in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Rename Variable replicaContentAfterRecovery : byte[] to replicaContentAfterReconstruction : byte[] in method private assertFileBlocksReconstruction(fileName String, fileLen int, type ReconstructionType, toRecoverBlockNum int) : void in class org.apache.hadoop.hdfs.TestReconstructStripedFile |
From |
To |
|
Rename Variable toRecover : int to toReconstruct : int in method public run() : void in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker.ReconstructAndTransferBlock |
From |
To |
|
Change Return Type BlockECRecoveryCommand to BlockECReconstructionCommand in method public convert(blkECReconstructionCmdProto BlockECReconstructionCommandProto) : BlockECReconstructionCommand in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Return Type Collection<BlockECRecoveryInfo> to Collection<BlockECReconstructionInfo> in method public getECTasks() : Collection<BlockECReconstructionInfo> in class org.apache.hadoop.hdfs.server.protocol.BlockECReconstructionCommand |
From |
To |
|
Change Return Type BlockECRecoveryInfoProto to BlockECReconstructionInfoProto in method public convertBlockECRecoveryInfo(blockEcRecoveryInfo BlockECReconstructionInfo) : BlockECReconstructionInfoProto in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Return Type BlockECRecoveryInfo to BlockECReconstructionInfo in method public convertBlockECReconstructionInfo(blockEcReconstructionInfoProto BlockECReconstructionInfoProto) : BlockECReconstructionInfo in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Return Type BlockECRecoveryCommandProto to BlockECReconstructionCommandProto in method public convert(blkECReconstructionCmd BlockECReconstructionCommand) : BlockECReconstructionCommandProto in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Return Type List<BlockECRecoveryInfo> to List<BlockECReconstructionInfo> in method public getErasureCodeCommand(maxTransfers int) : List<BlockECReconstructionInfo> in class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor |
From |
To |
|
Rename Attribute DNA_ERASURE_CODING_RECOVERY : int to DNA_ERASURE_CODING_RECONSTRUCTION : int in class org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol |
From |
To |
|
Rename Attribute STRIPED_READ_THREAD_POOL : ThreadPoolExecutor to EC_RECONSTRUCTION_STRIPED_READ_THREAD_POOL : ThreadPoolExecutor in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker |
From |
To |
|
Rename Attribute STRIPED_READ_BUFFER_SIZE : int to EC_RECONSTRUCTION_STRIPED_READ_BUFFER_SIZE : int in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker |
From |
To |
|
Rename Attribute STRIPED_BLK_RECOVERY_THREAD_POOL : ThreadPoolExecutor to EC_RECONSTRUCTION_STRIPED_BLK_THREAD_POOL : ThreadPoolExecutor in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker |
From |
To |
|
Rename Attribute DFS_DATANODE_STRIPED_READ_BUFFER_SIZE_KEY : String to DFS_DN_EC_RECONSTRUCTION_STRIPED_READ_BUFFER_SIZE_KEY : String in class org.apache.hadoop.hdfs.DFSConfigKeys |
From |
To |
|
Rename Attribute STRIPED_READ_TIMEOUT_MILLIS : int to EC_RECONSTRUCTION_STRIPED_READ_TIMEOUT_MILLIS : int in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker |
From |
To |
|
Change Variable Type task : BlockECRecoveryInfo to task : BlockECReconstructionInfo in method package addBlockToBeErasureCoded(block ExtendedBlock, sources DatanodeDescriptor[], targets DatanodeStorageInfo[], liveBlockIndices byte[], ecPolicy ErasureCodingPolicy) : void in class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor |
From |
To |
|
Change Variable Type recoveryInfo : BlockECRecoveryInfo to reconstructionInfo : BlockECReconstructionInfo in method public processErasureCodingTasks(ecTasks Collection<BlockECReconstructionInfo>) : void in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker |
From |
To |
|
Change Variable Type invalidECInfo : BlockECRecoveryInfo to invalidECInfo : BlockECReconstructionInfo in method public testProcessErasureCodingTasksSubmitionShouldSucceed() : void in class org.apache.hadoop.hdfs.TestReconstructStripedFile |
From |
To |
|
Change Variable Type blkRecoveryInfosList : List<BlockECRecoveryInfo> to blkRecoveryInfosList : List<BlockECReconstructionInfo> in method public testBlockECRecoveryCommand() : void in class org.apache.hadoop.hdfs.protocolPB.TestPBHelper |
From |
To |
|
Change Variable Type blockECRecoveryinfoList : List<BlockECRecoveryInfoProto> to blkECRInfoList : List<BlockECReconstructionInfoProto> in method public convert(blkECReconstructionCmdProto BlockECReconstructionCommandProto) : BlockECReconstructionCommand in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Variable Type blkECRecoveryCmdProto : BlockECRecoveryCommandProto to blkECRecoveryCmdProto : BlockECReconstructionCommandProto in method public testBlockECRecoveryCommand() : void in class org.apache.hadoop.hdfs.protocolPB.TestPBHelper |
From |
To |
|
Change Variable Type recovery : List<BlockECRecoveryInfo> to reconstruction : List<BlockECReconstructionInfo> in method private doTestMissingStripedBlock(numOfMissed int, numOfBusy int) : void in class org.apache.hadoop.hdfs.server.namenode.TestReconstructStripedBlocks |
From |
To |
|
Change Variable Type ecTasks : List<BlockECRecoveryInfo> to ecTasks : List<BlockECReconstructionInfo> in method public testProcessErasureCodingTasksSubmitionShouldSucceed() : void in class org.apache.hadoop.hdfs.TestReconstructStripedFile |
From |
To |
|
Change Variable Type iterator : Iterator<BlockECRecoveryInfo> to iterator : Iterator<BlockECReconstructionInfo> in method public testBlockECRecoveryCommand() : void in class org.apache.hadoop.hdfs.protocolPB.TestPBHelper |
From |
To |
|
Change Variable Type blkECRecoveryCmd : BlockECRecoveryCommand to blkECReconstructionCmd : BlockECReconstructionCommand in method public testBlockECRecoveryCommand() : void in class org.apache.hadoop.hdfs.protocolPB.TestPBHelper |
From |
To |
|
Change Variable Type pendingECList : List<BlockECRecoveryInfo> to pendingECList : List<BlockECReconstructionInfo> in method public handleHeartbeat(nodeReg DatanodeRegistration, reports StorageReport[], blockPoolId String, cacheCapacity long, cacheUsed long, xceiverCount int, maxTransfers int, failedVolumes int, volumeFailureSummary VolumeFailureSummary) : DatanodeCommand[] in class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager |
From |
To |
|
Change Variable Type blkECRecoveryInfos : Collection<BlockECRecoveryInfo> to blkECReconstructionInfos : Collection<BlockECReconstructionInfo> in method public convert(blkECReconstructionCmdProto BlockECReconstructionCommandProto) : BlockECReconstructionCommand in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Variable Type blkECRecoveryInfo1 : BlockECRecoveryInfo to blkECRecoveryInfo1 : BlockECReconstructionInfo in method public testBlockECRecoveryCommand() : void in class org.apache.hadoop.hdfs.protocolPB.TestPBHelper |
From |
To |
|
Change Variable Type blkECRecoveryInfo0 : BlockECRecoveryInfo to blkECRecoveryInfo0 : BlockECReconstructionInfo in method public testBlockECRecoveryCommand() : void in class org.apache.hadoop.hdfs.protocolPB.TestPBHelper |
From |
To |
|
Change Variable Type info : BlockECRecoveryInfo to info : BlockECReconstructionInfo in method private doTestMissingStripedBlock(numOfMissed int, numOfBusy int) : void in class org.apache.hadoop.hdfs.server.namenode.TestReconstructStripedBlocks |
From |
To |
|
Change Variable Type blockECRecoveryInfos : Collection<BlockECRecoveryInfo> to blockECRInfos : Collection<BlockECReconstructionInfo> in method public convert(blkECReconstructionCmd BlockECReconstructionCommand) : BlockECReconstructionCommandProto in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Variable Type blockECRecoveryInfoProto : BlockECRecoveryInfoProto to blkECRInfoProto : BlockECReconstructionInfoProto in method public convert(blkECReconstructionCmdProto BlockECReconstructionCommandProto) : BlockECReconstructionCommand in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Change Variable Type ecTasks : Collection<BlockECRecoveryInfo> to ecTasks : Collection<BlockECReconstructionInfo> in method private processCommandFromActive(cmd DatanodeCommand, actor BPServiceActor) : boolean in class org.apache.hadoop.hdfs.server.datanode.BPOfferService |
From |
To |
|
Rename Parameter blockECRecoveryInfoList : Collection<BlockECRecoveryInfo> to blockECReconstructionInfoList : Collection<BlockECReconstructionInfo> in method public BlockECReconstructionCommand(action int, blockECReconstructionInfoList Collection<BlockECReconstructionInfo>) in class org.apache.hadoop.hdfs.server.protocol.BlockECReconstructionCommand |
From |
To |
|
Rename Parameter blockEcRecoveryInfoProto : BlockECRecoveryInfoProto to blockEcReconstructionInfoProto : BlockECReconstructionInfoProto in method public convertBlockECReconstructionInfo(blockEcReconstructionInfoProto BlockECReconstructionInfoProto) : BlockECReconstructionInfo in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Rename Parameter toRecoverLen : int to toReconstructLen : int in method private reconstructTargets(success int[], targetsStatus boolean[], toReconstructLen int) : void in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker.ReconstructAndTransferBlock |
From |
To |
|
Rename Parameter blkECRecoveryCmd : BlockECRecoveryCommand to blkECReconstructionCmd : BlockECReconstructionCommand in method public convert(blkECReconstructionCmd BlockECReconstructionCommand) : BlockECReconstructionCommandProto in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Rename Parameter recoverLength : int to reconstructLength : int in method private readMinimumStripedData4Reconstruction(success int[], reconstructLength int, corruptionMap Map<ExtendedBlock,Set<DatanodeInfo>>) : int[] in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker.ReconstructAndTransferBlock |
From |
To |
|
Rename Parameter recoverLength : int to reconstructLength : int in method private getReadLength(index int, reconstructLength int) : int in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker.ReconstructAndTransferBlock |
From |
To |
|
Rename Parameter recoverLength : int to reconstructLen : int in method private scheduleNewRead(used BitSet, reconstructLen int, corruptionMap Map<ExtendedBlock,Set<DatanodeInfo>>) : int in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker.ReconstructAndTransferBlock |
From |
To |
|
Rename Parameter blkECRecoveryCmdProto : BlockECRecoveryCommandProto to blkECReconstructionCmdProto : BlockECReconstructionCommandProto in method public convert(blkECReconstructionCmdProto BlockECReconstructionCommandProto) : BlockECReconstructionCommand in class org.apache.hadoop.hdfs.protocolPB.PBHelper |
From |
To |
|
Rename Parameter recoveryInfo : BlockECRecoveryInfo to reconstructionInfo : BlockECReconstructionInfo in method package ReconstructAndTransferBlock(reconstructionInfo BlockECReconstructionInfo) in class org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker.ReconstructAndTransferBlock |
From |
To |