3682e01984b6d93b35376532da8a8823d69239df
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method package initExtenalError() : void renamed to package initExternalError() : void in class org.apache.hadoop.hdfs.DataStreamer.ErrorState | From | To | |
Rename Method package getEndBlock(i int) : ExtendedBlock renamed to package takeEndBlock(i int) : ExtendedBlock in class org.apache.hadoop.hdfs.DFSStripedOutputStream.Coordinator | From | To | |
Rename Method package setIsFailed(isFailed boolean) : void renamed to package setFailed(failed boolean) : void in class org.apache.hadoop.hdfs.StripedDataStreamer | From | To | |
Rename Method package putEndBlock(i int, block ExtendedBlock) : void renamed to package offerEndBlock(i int, block ExtendedBlock) : void in class org.apache.hadoop.hdfs.DFSStripedOutputStream.Coordinator | From | To | |
Rename Attribute | 3 | ||
Rename Attribute extenalError : boolean to externalError : boolean in class org.apache.hadoop.hdfs.DataStreamer.ErrorState | From | To | |
Rename Attribute isFailed : boolean to failed : boolean in class org.apache.hadoop.hdfs.StripedDataStreamer | From | To | |
Rename Attribute stripedBlocks : MultipleBlockingQueue<LocatedBlock> to newBlocks : MultipleBlockingQueue<LocatedBlock> in class org.apache.hadoop.hdfs.DFSStripedOutputStream.Coordinator | From | To | |
Extract Method | 3 | ||
Extract Method package callUpdatePipeline(oldBlock ExtendedBlock, newBlock ExtendedBlock) : ExtendedBlock extracted from package updatePipeline(newGS long) : ExtendedBlock in class org.apache.hadoop.hdfs.DataStreamer | From | To | |
Extract Method package callUpdateBlockForPipeline(newBlock ExtendedBlock) : LocatedBlock extracted from package updateBlockForPipeline() : LocatedBlock in class org.apache.hadoop.hdfs.DataStreamer | From | To | |
Extract Method package newBlock(b ExtendedBlock, newGS long) : ExtendedBlock extracted from package updatePipeline(newGS long) : ExtendedBlock in class org.apache.hadoop.hdfs.DataStreamer | From | To | |
Rename Parameter | 2 | ||
Rename Parameter isFailed : boolean to failed : boolean in method package setFailed(failed boolean) : void in class org.apache.hadoop.hdfs.StripedDataStreamer | From | To | |
Rename Parameter block0 : ExtendedBlock to blockj : ExtendedBlock in method public checkBlocks(j int, blockj ExtendedBlock, i int, blocki ExtendedBlock) : void in class org.apache.hadoop.hdfs.util.StripedBlockUtil | From | To |