444b2ea7afebf9f6c3d356154b71abfd0ea95b23
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Variable | 1 | ||
Extract Variable partitionResource : Resource in method private computeUserLimit(application FiCaSchedulerApp, clusterResource Resource, user User, nodePartition String, schedulingMode SchedulingMode) : Resource from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue | From | To | |
Extract Method | 3 | ||
Extract Method private setUpInternal(rC ResourceCalculator) : void extracted from public setUp() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue | From | To | |
Extract Method public createResourceRequest(resourceName String, memory int, vcores int, numContainers int, relaxLocality boolean, priority Priority, recordFactory RecordFactory, labelExpression String) : ResourceRequest extracted from public createResourceRequest(resourceName String, memory int, numContainers int, relaxLocality boolean, priority Priority, recordFactory RecordFactory, labelExpression String) : ResourceRequest in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestUtils | From | To | |
Extract Method public getMockNode(host String, rack String, port int, memory int, vcores int) : FiCaSchedulerNode extracted from public getMockNode(host String, rack String, port int, capability int) : FiCaSchedulerNode in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestUtils | From | To | |
Rename Parameter | 2 | ||
Rename Parameter capability : int to memory : int in method public getMockNode(host String, rack String, port int, memory int, vcores int) : FiCaSchedulerNode in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestUtils | From | To | |
Rename Parameter capability : int to memory : int in method public getMockNode(host String, rack String, port int, memory int) : FiCaSchedulerNode in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestUtils | From | To |