45db1a0b727965ceb27411ea5567b3a76c63b181
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package updateBlockForPipeline(block ExtendedBlock, clientName String) : LocatedBlock renamed to package bumpBlockGenerationStamp(block ExtendedBlock, clientName String) : LocatedBlock in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To | |
Move Method | 1 | ||
Move Method public writeAndFlushStripedOutputStream(out DFSStripedOutputStream, chunkSize int) : void from class org.apache.hadoop.hdfs.DFSTestUtil to private writeAndFlushStripedOutputStream(out DFSStripedOutputStream, chunkSize int) : void from class org.apache.hadoop.hdfs.server.namenode.TestAddStripedBlocks | From | To | |
Extract Variable | 1 | ||
Extract Variable offset : long in method public constructInternalBlock(bg LocatedStripedBlock, idxInReturnedLocs int, cellSize int, dataBlkNum int, idxInBlockGroup int) : LocatedBlock from class org.apache.hadoop.hdfs.util.StripedBlockUtil | From | To | |
Change Variable Type | 1 | ||
Change Variable Type blockinfo : BlockInfoContiguousUnderConstruction to blockinfo : BlockInfoUnderConstruction in method private updatePipelineInternal(clientName String, oldBlock ExtendedBlock, newBlock ExtendedBlock, newNodes DatanodeID[], newStorageIDs String[], logRetryCache boolean) : void in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To | |
Extract Method | 1 | ||
Extract Method package putLoactedBlocks(lb LocatedBlock) : void extracted from protected locateFollowingBlock(excludedNodes DatanodeInfo[]) : LocatedBlock in class org.apache.hadoop.hdfs.StripedDataStreamer | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type stripedBlocks : List<BlockingQueue<LocatedBlock>> to stripedBlocks : MultipleBlockingQueue<LocatedBlock> in class org.apache.hadoop.hdfs.DFSStripedOutputStream.Coordinator | From | To | |
Change Attribute Type endBlocks : List<BlockingQueue<ExtendedBlock>> to endBlocks : MultipleBlockingQueue<ExtendedBlock> in class org.apache.hadoop.hdfs.DFSStripedOutputStream.Coordinator | From | To |