fa5cfc68f37c78b6cf26ce13247b9ff34da806cd
Files Diff
- Added: 20
- Removed: 0
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method private createNMConfig(port int) : YarnConfiguration from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to protected createNMConfig(port int) : YarnConfiguration from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Pull Up Method private createNMConfig() : YarnConfiguration from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to protected createNMConfig() : YarnConfiguration from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Pull Up Method public setUp() : void from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to public setUp() : void from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Move Method | 2 | ||
Move Method protected stopRMProxy() : void from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater.MyNodeStatusUpdater to protected stopRMProxy() : void from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase.BaseNodeStatusUpdaterForTest | From | To | |
Move Method protected getRMClient() : ResourceTracker from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater.MyNodeStatusUpdater to protected getRMClient() : ResourceTracker from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase.BaseNodeStatusUpdaterForTest | From | To | |
Pull Up Attribute | 8 | ||
Pull Up Attribute private conf : Configuration from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to protected conf : Configuration from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Pull Up Attribute package LOG : Logger from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to protected LOG : Logger from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Pull Up Attribute package nmLocalDir : File from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to protected nmLocalDir : File from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Pull Up Attribute private recordFactory : RecordFactory from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to protected recordFactory : RecordFactory from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Pull Up Attribute package logsDir : File from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to protected logsDir : File from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Pull Up Attribute package basedir : File from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to protected basedir : File from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Pull Up Attribute package tmpDir : File from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to protected tmpDir : File from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Pull Up Attribute package remoteLogsDir : File from class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater to protected remoteLogsDir : File from class org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase | From | To | |
Move Class | 1 | ||
Move Class org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater.MyContainerManager moved to org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase.MyContainerManager | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.hadoop.yarn.server.nodemanager.NodeManagerTestBase from classes [org.apache.hadoop.yarn.server.nodemanager.TestNodeStatusUpdater] | From | To | |
Extract Method | 1 | ||
Extract Method protected createContainerExecutor(conf Configuration) : ContainerExecutor extracted from protected serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.server.nodemanager.NodeManager | From | To |