a8b4d0ff283a0af1075aaa94904d4c6e63a9a3dd
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type killedDnIndex : int[] to checkSet : Set<Integer> in method package verifyParityBlocks(conf Configuration, size long, cellSize int, dataBytes byte[][], parityBytes byte[][], checkSet Set<Integer>) : void in class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Change Return Type | 1 | ||
Change Return Type void to DatanodeInfo in method package killDatanode(cluster MiniDFSCluster, out DFSStripedOutputStream, dnIndex int, pos AtomicInteger) : DatanodeInfo in class org.apache.hadoop.hdfs.TestDFSStripedOutputStreamWithFailure | From | To | |
Extract Method | 2 | ||
Extract Method public waitBlockGroupsReported(fs DistributedFileSystem, src String, numDeadDNs int) : void extracted from public waitBlockGroupsReported(fs DistributedFileSystem, src String) : void in class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Extract Method package getExcludedNodes() : DatanodeInfo[] extracted from protected nextBlockOutputStream() : LocatedBlock in class org.apache.hadoop.hdfs.DataStreamer | From | To | |
Rename Parameter | 1 | ||
Rename Parameter killedDnIndex : int[] to checkSet : Set<Integer> in method package verifyParityBlocks(conf Configuration, size long, cellSize int, dataBytes byte[][], parityBytes byte[][], checkSet Set<Integer>) : void in class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To |