e6ec02001fc4eed9eb51c8653d8f931135e49eda
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable csConfig : CapacitySchedulerConfiguration to config : CapacitySchedulerConfiguration in method private updateConfigIfNeeded() : void in class org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy | From | To | |
Rename Attribute | 1 | ||
Rename Attribute LAZY_PREEMPTION_ENALBED : String to LAZY_PREEMPTION_ENABLED : String in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerConfiguration | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type DEFAULT_PREEMPTION_NATURAL_TERMINATION_FACTOR : float to DEFAULT_PREEMPTION_NATURAL_TERMINATION_FACTOR : double in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerConfiguration | From | To | |
Change Attribute Type DEFAULT_PREEMPTION_MAX_IGNORED_OVER_CAPACITY : float to DEFAULT_PREEMPTION_MAX_IGNORED_OVER_CAPACITY : double in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerConfiguration | From | To | |
Extract Method | 2 | ||
Extract Method private schedulePreemptionChecker() : void extracted from public serviceStart() : void in class org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitor | From | To | |
Extract Method private updateConfigIfNeeded() : void extracted from public init(config Configuration, context RMContext, sched ResourceScheduler) : void in class org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy | From | To |