9c35be86e17021202823bfd3c2067ff3b312ce5c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 29
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getFile() : Path renamed to public getDir() : Path in class org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.TextFileRegionAliasMap.WriterOptions | From | To | |
Rename Method public filename(file Path) : WriterOptions renamed to public dirName(dir Path) : WriterOptions in class org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.TextFileRegionAliasMap.WriterOptions | From | To | |
Move Method | 1 | ||
Move Method public getBlockPoolId() : String from class org.apache.hadoop.hdfs.server.common.FileRegion to public getBlockPoolId() : String from class org.apache.hadoop.hdfs.server.aliasmap.InMemoryAliasMap | From | To | |
Rename Variable | 1 | ||
Rename Variable tmpfile : String to tmpDir : String in method public setConf(conf Configuration) : void in class org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.TextFileRegionAliasMap.WriterOptions | From | To | |
Move Attribute | 1 | ||
Move Attribute private bpid : String from class org.apache.hadoop.hdfs.server.common.FileRegion to private bpid : String from class org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.TestLevelDbMockAliasMapClient | From | To | |
Rename Attribute | 5 | ||
Rename Attribute DFS_PROVIDED_ALIASMAP_TEXT_WRITE_PATH : String to DFS_PROVIDED_ALIASMAP_TEXT_WRITE_DIR : String in class org.apache.hadoop.hdfs.DFSConfigKeys | From | To | |
Rename Attribute DFS_PROVIDED_ALIASMAP_TEXT_PATH_DEFAULT : String to DFS_PROVIDED_ALIASMAP_TEXT_READ_FILE_DEFAULT : String in class org.apache.hadoop.hdfs.DFSConfigKeys | From | To | |
Rename Attribute DFS_PROVIDED_ALIASMAP_TEXT_PATH_DEFAULT : String to DFS_PROVIDED_ALIASMAP_TEXT_WRITE_DIR_DEFAULT : String in class org.apache.hadoop.hdfs.DFSConfigKeys | From | To | |
Rename Attribute DFS_PROVIDED_ALIASMAP_TEXT_READ_PATH : String to DFS_PROVIDED_ALIASMAP_TEXT_READ_FILE : String in class org.apache.hadoop.hdfs.DFSConfigKeys | From | To | |
Rename Attribute file : Path to dir : Path in class org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.TextFileRegionAliasMap.WriterOptions | From | To | |
Extract Variable | 1 | ||
Extract Variable dbFile : File in method private createDB(levelDBPath String, createIfMissing boolean, blockPoolID String) : DB from class org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.LevelDBFileRegionAliasMap | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public setBlockPoolID(blockPoolID String) : void extracted from public ImageWriter(opts Options) in class org.apache.hadoop.hdfs.server.namenode.ImageWriter & moved to class org.apache.hadoop.hdfs.server.protocol.NamespaceInfo | From | To | |
Rename Parameter | 1 | ||
Rename Parameter file : Path to dir : Path in method public dirName(dir Path) : WriterOptions in class org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.TextFileRegionAliasMap.WriterOptions | From | To |