092fead5d9875fb3760206bcdd76cdafec5e9481
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 30
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Parameterize Variable | 1 | ||
| Parameterize Variable ts : long to startTime : long in method private publishContainerStartEventOnTimelineServiceV2(container Container, startTime long) : void in class org.apache.hadoop.yarn.applications.distributedshell.ApplicationMaster | From | To | |
| Extract Variable | 1 | ||
| Extract Variable attemptId : ApplicationAttemptId in method public appAttemptRegistered(appAttempt RMAppAttempt, registeredTime long) : void from class org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher | From | To | |
| Extract Method | 2 | ||
| Extract Method private getContainerKey(containerId String, suffix String) : String extracted from public storeContainer(containerId ContainerId, containerVersion int, startRequest StartContainerRequest) : void in class org.apache.hadoop.yarn.server.nodemanager.recovery.NMLeveldbStateStoreService | From | To | |
| Extract Method private getContainerKey(containerId String, suffix String) : String extracted from package getContainerVersionKey(containerId String) : String in class org.apache.hadoop.yarn.server.nodemanager.recovery.NMLeveldbStateStoreService | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter timeStamp : long to containerFinishTime : long in method private publishContainerFinishedEvent(containerStatus ContainerStatus, containerFinishTime long, containerStartTime long) : void in class org.apache.hadoop.yarn.server.nodemanager.timelineservice.NMTimelinePublisher | From | To |