c8b53c43644b4ad22d5385c22cad8ed573c0b1ba
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private createReq(jobId JobId, taskAttemptId int, memory int, vcore int, hosts String[], earlierFailedAttempt boolean, reduce boolean) : ContainerRequestEvent from class org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator to package createRequest(jobId JobId, taskAttemptId int, resource Resource, hosts String[], earlierFailedAttempt boolean, reduce boolean) : ContainerRequestEvent from class org.apache.hadoop.mapreduce.v2.app.rm.ContainerRequestCreator | From | To | |
Rename Variable | 5 | ||
Rename Variable csconf : CapacitySchedulerConfiguration to csConf : CapacitySchedulerConfiguration in method private testValidateRequestCapacityAgainstMinMaxAllocation(schedulerCls Class<?>) : void in class org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterService | From | To | |
Rename Variable conf : YarnConfiguration to yarnConf : YarnConfiguration in method public testValidateRequestCapacityAgainstMinMaxAllocationFor3rdResourceTypes() : void in class org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterService | From | To | |
Rename Variable conf : YarnConfiguration to yarnConf : YarnConfiguration in method private testValidateRequestCapacityAgainstMinMaxAllocation(schedulerCls Class<?>) : void in class org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterService | From | To | |
Rename Variable res_1 : ResourceInformation to res1 : ResourceInformation in method public testValidateRequestCapacityAgainstMinMaxAllocationFor3rdResourceTypes() : void in class org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterService | From | To | |
Rename Variable conf : Configuration to yarnConf : Configuration in method public testValidateResourceBlacklistRequest() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerUtils | From | To | |
Extract Method | 2 | ||
Extract Method private checkUnitArgument(unit String) : void extracted from public compare(unitA String, valueA long, unitB String, valueB long) : int in class org.apache.hadoop.yarn.util.UnitsConversionUtil | From | To | |
Rename Parameter | 2 | ||
Rename Parameter unitB : String to unit : String in method private checkUnitArgument(unit String) : void in class org.apache.hadoop.yarn.util.UnitsConversionUtil | From | To | |
Rename Parameter unitA : String to unit : String in method private checkUnitArgument(unit String) : void in class org.apache.hadoop.yarn.util.UnitsConversionUtil | From | To |