4aa9b3e75ca86917125e56e1b438668273a5d87f
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private getNumOfHangingRequests(requestMap Map<TaskAttemptId,ContainerRequest>) : int renamed to private preemptReducersForHangingMapRequests(pendingThreshold long) : boolean in class org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type requestMap : Map<TaskAttemptId,ContainerRequest> to pendingThreshold : long in method private preemptReducersForHangingMapRequests(pendingThreshold long) : boolean in class org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator | From | To | |
| Change Return Type | 1 | ||
| Change Return Type int to boolean in method private preemptReducersForHangingMapRequests(pendingThreshold long) : boolean in class org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator | From | To | |
| Extract Method | 1 | ||
| Extract Method private getNumHangingRequests(allocationDelayThresholdMs long, requestMap Map<TaskAttemptId,ContainerRequest>) : int extracted from private getNumOfHangingRequests(requestMap Map<TaskAttemptId,ContainerRequest>) : int in class org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter requestMap : Map<TaskAttemptId,ContainerRequest> to pendingThreshold : long in method private preemptReducersForHangingMapRequests(pendingThreshold long) : boolean in class org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator | From | To |