fddd55279d0bdd08b3b40aba6fe2ded1d2e0d846
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type target : FSNamesystem to storage : NNStorage in method public checkUpgrade(storage NNStorage) : void in class org.apache.hadoop.hdfs.server.namenode.FSImage | From | To | |
Extract Method | 4 | ||
Extract Method private downloadImage(storage NNStorage, proxy NamenodeProtocol) : int extracted from private doRun() : int in class org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby | From | To | |
Extract Method package checkUpgrade() : void extracted from package doUpgrade(target FSNamesystem) : void in class org.apache.hadoop.hdfs.server.namenode.FSImage | From | To | |
Extract Method private format(storage NNStorage, nsInfo NamespaceInfo) : boolean extracted from private doRun() : int in class org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby | From | To | |
Extract Method public renameCurToTmp(sd StorageDirectory) : void extracted from package doPreUpgrade(conf Configuration, sd StorageDirectory) : void in class org.apache.hadoop.hdfs.server.namenode.NNUpgradeUtil | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method package checkUpgrade() : void extracted from package startRollingUpgradeInternal(startTime long) : void in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem & moved to class org.apache.hadoop.hdfs.server.namenode.FSImage | From | To | |
Extract And Move Method package checkUpgrade() : void extracted from private startRollingUpgradeInternalForNonHA(startTime long) : void in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem & moved to class org.apache.hadoop.hdfs.server.namenode.FSImage | From | To | |
Rename Parameter | 1 | ||
Rename Parameter target : FSNamesystem to storage : NNStorage in method public checkUpgrade(storage NNStorage) : void in class org.apache.hadoop.hdfs.server.namenode.FSImage | From | To |