e5003be907acef87c2770e3f2914953f62017b0e
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 1 | ||
Push Down Method public allocate(clusterResource Resource, node FiCaSchedulerNode, schedulingMode SchedulingMode, resourceLimits ResourceLimits, priority Priority, reservedContainer RMContainer) : ContainerAllocation from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.allocator.ContainerAllocator to private allocate(clusterResource Resource, node FiCaSchedulerNode, schedulingMode SchedulingMode, resourceLimits ResourceLimits, priority Priority, reservedContainer RMContainer) : ContainerAllocation from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.allocator.RegularContainerAllocator | From | To | |
Move Method | 2 | ||
Move Method public assignContainers(clusterResource Resource, node FiCaSchedulerNode, currentResourceLimits ResourceLimits, schedulingMode SchedulingMode) : CSAssignment from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.common.fica.FiCaSchedulerApp to public assignContainers(clusterResource Resource, node FiCaSchedulerNode, schedulingMode SchedulingMode, resourceLimits ResourceLimits, reservedContainer RMContainer) : CSAssignment from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.allocator.RegularContainerAllocator | From | To | |
Move Method private getCSAssignmentFromAllocateResult(clusterResource Resource, result ContainerAllocation) : CSAssignment from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.common.fica.FiCaSchedulerApp to protected getCSAssignmentFromAllocateResult(clusterResource Resource, result ContainerAllocation, rmContainer RMContainer) : CSAssignment from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.allocator.ContainerAllocator | From | To | |
Rename Variable | 1 | ||
Rename Variable assigned : ContainerAllocation to allocation : ContainerAllocation in method private assignContainersOnNode(clusterResource Resource, node FiCaSchedulerNode, priority Priority, reservedContainer RMContainer, schedulingMode SchedulingMode, currentResoureLimits ResourceLimits) : ContainerAllocation in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.allocator.RegularContainerAllocator | From | To | |
Rename Parameter | 1 | ||
Rename Parameter currentResourceLimits : ResourceLimits to resourceLimits : ResourceLimits in method public assignContainers(clusterResource Resource, node FiCaSchedulerNode, schedulingMode SchedulingMode, resourceLimits ResourceLimits, reservedContainer RMContainer) : CSAssignment in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.allocator.RegularContainerAllocator | From | To |