01f3f2167ec20b52a18bc2cf250fb4229cfd2c14
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Attribute | 1 | ||
Extract Attribute private MIN_ALLOCATION_MB : int in class org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute priority : int to amPriority : int in method private setAMResourceCapability(appContext ApplicationSubmissionContext, profiles Map<String,Resource>, resourceTypes List<ResourceTypeInfo>) : void in class org.apache.hadoop.yarn.applications.distributedshell.Client | From | To | |
Replace Variable With Attribute profile : String to amResourceProfile : String in method private setAMResourceCapability(appContext ApplicationSubmissionContext, profiles Map<String,Resource>, resourceTypes List<ResourceTypeInfo>) : void in class org.apache.hadoop.yarn.applications.distributedshell.Client | From | To | |
Extract Method | 1 | ||
Extract Method private validateResourceTypes(resourceNames Iterable<String>, resourceTypes List<ResourceTypeInfo>) : void extracted from private setAMResourceCapability(appContext ApplicationSubmissionContext, memory long, vcores int, profile String, priority int, profiles Map<String,Resource>) : void in class org.apache.hadoop.yarn.applications.distributedshell.Client | From | To |