eac6b4c35c50e555c2f1b5f913bb2c4d839f1ff4
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 26
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method private handleDemotionRequests(appAttempt SchedulerApplicationAttempt, demotionRequests List<UpdateContainerRequest>) : void renamed to private handleDecreaseRequests(appAttempt SchedulerApplicationAttempt, demotionRequests List<UpdateContainerRequest>) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Rename Method private handlePromotionRequests(applicationAttempt SchedulerApplicationAttempt, updateContainerRequests List<UpdateContainerRequest>) : void renamed to private handleIncreaseRequests(applicationAttempt SchedulerApplicationAttempt, updateContainerRequests List<UpdateContainerRequest>) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Rename Method private pullContainersWithUpdatedExecType(newlyUpdatedContainers Map<ContainerId,RMContainer>, updateTpe ContainerUpdateType) : List<Container> renamed to private pullNewlyUpdatedContainers(newlyUpdatedContainers Map<ContainerId,RMContainer>, updateTpe ContainerUpdateType) : List<Container> in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt | From | To | |
Rename Method protected handleExecutionTypeUpdates(appAttempt SchedulerApplicationAttempt, promotionRequests List<UpdateContainerRequest>, demotionRequests List<UpdateContainerRequest>) : void renamed to protected handleContainerUpdates(appAttempt SchedulerApplicationAttempt, updates ContainerUpdates) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Pull Up Method | 1 | ||
Pull Up Method private rollbackContainerResource(containerId ContainerId) : void from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler to protected rollbackContainerUpdate(containerId ContainerId) : void from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Rename Variable | 1 | ||
Rename Variable rmContainer : RMContainer to tempRMContainer : RMContainer in method private pullNewlyUpdatedContainers(newlyUpdatedContainers Map<ContainerId,RMContainer>, updateTpe ContainerUpdateType) : List<Container> in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt | From | To | |
Inline Method | 1 | ||
Inline Method private swapContainer(rmContainer RMContainer, matchedContainerId ContainerId) : RMContainer inlined to private pullNewlyUpdatedContainers(newlyUpdatedContainers Map<ContainerId,RMContainer>, updateTpe ContainerUpdateType) : List<Container> in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [promotionRequests : List<UpdateContainerRequest>, demotionRequests : List<UpdateContainerRequest>] to updates : ContainerUpdates in method protected handleContainerUpdates(appAttempt SchedulerApplicationAttempt, updates ContainerUpdates) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type outstandingDecreases : Set<ContainerId> to outstandingDecreases : Map<ContainerId,Resource> in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.ContainerUpdateContext | From | To |