291194302cc1a875d6d94ea93cf1184a3f1fc2cc
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type selectedCandidates : Map<ApplicationAttemptId,Set<RMContainer>> to toPreemptPerSelector : Map<PreemptionCandidatesSelector,Map<ApplicationAttemptId,Set<RMContainer>>> in method private preemptOrkillSelectedContainerAfterWait(toPreemptPerSelector Map<PreemptionCandidatesSelector,Map<ApplicationAttemptId,Set<RMContainer>>>, currentTime long) : void in class org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy | From | To | |
Rename Variable | 3 | ||
Rename Variable containers : Set<RMContainer> to curCandidates : Map<ApplicationAttemptId,Set<RMContainer>> in method public selectCandidates(selectedCandidates Map<ApplicationAttemptId,Set<RMContainer>>, clusterResource Resource, totalPreemptedResourceAllowed Resource) : Map<ApplicationAttemptId,Set<RMContainer>> in class org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ReservedContainerCandidatesSelector | From | To | |
Rename Variable containers : Set<RMContainer> to curCandidates : Map<ApplicationAttemptId,Set<RMContainer>> in method public selectCandidates(selectedCandidates Map<ApplicationAttemptId,Set<RMContainer>>, clusterResource Resource, totalPreemptedResourceAllowed Resource) : Map<ApplicationAttemptId,Set<RMContainer>> in class org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.QueuePriorityContainerCandidateSelector | From | To | |
Rename Variable set : Set<RMContainer> to setForToPreempt : Set<RMContainer> in method protected addToPreemptMap(preemptMap Map<ApplicationAttemptId,Set<RMContainer>>, curCandidates Map<ApplicationAttemptId,Set<RMContainer>>, appAttemptId ApplicationAttemptId, containerToPreempt RMContainer) : void in class org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.CapacitySchedulerPreemptionUtils | From | To | |
Change Variable Type | 2 | ||
Change Variable Type containers : Set<RMContainer> to curCandidates : Map<ApplicationAttemptId,Set<RMContainer>> in method public selectCandidates(selectedCandidates Map<ApplicationAttemptId,Set<RMContainer>>, clusterResource Resource, totalPreemptedResourceAllowed Resource) : Map<ApplicationAttemptId,Set<RMContainer>> in class org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ReservedContainerCandidatesSelector | From | To | |
Change Variable Type containers : Set<RMContainer> to curCandidates : Map<ApplicationAttemptId,Set<RMContainer>> in method public selectCandidates(selectedCandidates Map<ApplicationAttemptId,Set<RMContainer>>, clusterResource Resource, totalPreemptedResourceAllowed Resource) : Map<ApplicationAttemptId,Set<RMContainer>> in class org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.QueuePriorityContainerCandidateSelector | From | To | |
Rename Parameter | 1 | ||
Rename Parameter selectedCandidates : Map<ApplicationAttemptId,Set<RMContainer>> to toPreemptPerSelector : Map<PreemptionCandidatesSelector,Map<ApplicationAttemptId,Set<RMContainer>>> in method private preemptOrkillSelectedContainerAfterWait(toPreemptPerSelector Map<PreemptionCandidatesSelector,Map<ApplicationAttemptId,Set<RMContainer>>>, currentTime long) : void in class org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy | From | To |