c53420f58364b11fbda1dace7679d45534533382
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 3 | ||
Extract Method private updateAbsoluteCapacityResource(clusterResource Resource) : void extracted from public updateClusterResource(clusterResource Resource) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue | From | To | |
Extract Method private updateAbsoluteCapacityResource(clusterResource Resource) : void extracted from protected setupQueueConfigs(clusterResource Resource, capacity float, absoluteCapacity float, maximumCapacity float, absoluteMaxCapacity float, userLimit int, userLimitFactor float, maxApplications int, maxAMResourcePerQueuePercent float, maxApplicationsPerUser int, maxActiveApplications int, maxActiveApplicationsPerUser int, state QueueState, acls Map<QueueACL,AccessControlList>, nodeLocalityDelay int, labels Set<String>, defaultLabelExpression String, capacitieByLabel Map<String,Float>, maximumCapacitiesByLabel Map<String,Float>, revervationContinueLooking boolean) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue | From | To | |
Extract Method private updateHeadroomInfo(clusterResource Resource, absoluteMaxAvailCapacity float) : Resource extracted from package computeUserLimitAndSetHeadroom(application FiCaSchedulerApp, clusterResource Resource, required Resource, requestedLabels Set<String>) : Resource in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue | From | To |