03f519a757ce83d76e7fc9f6aadf271e38bb9f6d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private getStorageIDToVolumeMap() : Map<String,FsVolumeSpi> renamed to private getStorageIDToVolumeBasePathMap() : Map<String,String> in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type source : FsVolumeSpi to sourceVolUuid : String in method public VolumePair(sourceVolUuid String, sourceVolBasePath String, destVolUuid String, destVolBasePath String) in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer.VolumePair | From | To | |
Rename Variable | 6 | ||
Rename Variable destVol : FsVolumeSpi to destVolBasePath : String in method private createWorkPlan(plan NodePlan) : void in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Rename Variable destinationuuid : String to destVolUuid : String in method private createWorkPlan(plan NodePlan) : void in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Rename Variable sourceVol : FsVolumeSpi to sourceVolBasePath : String in method private createWorkPlan(plan NodePlan) : void in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Rename Variable pathMap : Map<String,FsVolumeSpi> to storageIDToVolBasePathMap : Map<String,String> in method private createWorkPlan(plan NodePlan) : void in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Rename Variable pathMap : Map<String,FsVolumeSpi> to storageIDToVolBasePathMap : Map<String,String> in method private getStorageIDToVolumeBasePathMap() : Map<String,String> in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Rename Variable sourceuuid : String to sourceVolUuid : String in method private createWorkPlan(plan NodePlan) : void in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Change Return Type | 1 | ||
Change Return Type Map<String,FsVolumeSpi> to Map<String,String> in method private getStorageIDToVolumeBasePathMap() : Map<String,String> in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Merge Variable | 1 | ||
Merge Variable [sourceVol : FsVolumeSpi, destVol : FsVolumeSpi] to volumePair : VolumePair in method private createWorkPlan(plan NodePlan) : void in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable pair : VolumePair to volumePair : VolumePair in method private createWorkPlan(volumePair VolumePair, step Step) : void in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Rename Attribute | 2 | ||
Rename Attribute source : FsVolumeSpi to sourceVolUuid : String in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer.VolumePair | From | To | |
Rename Attribute dest : FsVolumeSpi to destVolUuid : String in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer.VolumePair | From | To | |
Change Variable Type | 4 | ||
Change Variable Type sourceVol : FsVolumeSpi to sourceVolBasePath : String in method private createWorkPlan(plan NodePlan) : void in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Change Variable Type pathMap : Map<String,FsVolumeSpi> to storageIDToVolBasePathMap : Map<String,String> in method private createWorkPlan(plan NodePlan) : void in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Change Variable Type destVol : FsVolumeSpi to destVolBasePath : String in method private createWorkPlan(plan NodePlan) : void in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Change Variable Type pathMap : Map<String,FsVolumeSpi> to storageIDToVolBasePathMap : Map<String,String> in method private getStorageIDToVolumeBasePathMap() : Map<String,String> in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Extract Variable | 2 | ||
Extract Variable errMsg : String in method private createWorkPlan(plan NodePlan) : void from class org.apache.hadoop.hdfs.server.datanode.DiskBalancer | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type dest : FsVolumeSpi to destVolUuid : String in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer.VolumePair | From | To | |
Change Attribute Type source : FsVolumeSpi to sourceVolUuid : String in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer.VolumePair | From | To | |
Rename Parameter | 1 | ||
Rename Parameter source : FsVolumeSpi to sourceVolUuid : String in method public VolumePair(sourceVolUuid String, sourceVolBasePath String, destVolUuid String, destVolBasePath String) in class org.apache.hadoop.hdfs.server.datanode.DiskBalancer.VolumePair | From | To |