37e1c3d82a96d781e1c9982988b7de4aa5242d0c
Files Diff
- Added: 9
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Attribute | 1 | ||
Rename Attribute retentionPolicy : ContainerLogsRetentionPolicy to logAggPolicy : ContainerLogAggregationPolicy in class org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.AppLogAggregatorImpl | From | To | |
Change Variable Type | 1 | ||
Change Variable Type container : ContainerId to container : Container in method private uploadLogsForContainers(appFinished boolean) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.AppLogAggregatorImpl | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type retentionPolicy : ContainerLogsRetentionPolicy to logAggPolicy : ContainerLogAggregationPolicy in class org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.AppLogAggregatorImpl | From | To | |
Extract Method | 2 | ||
Extract Method public getStrings(str String, delim String) : String[] extracted from public getStrings(str String) : String[] in class org.apache.hadoop.util.StringUtils | From | To | |
Extract Method private verifyContainerLogs(logAggregationService LogAggregationService, appId ApplicationId, expectedContainerIds ContainerId[], minNumOfContainers int, maxNumOfContainers int, logFiles String[], numOfLogsPerContainer int, multiLogs boolean) : LogFileStatusInLastCycle extracted from private verifyContainerLogs(logAggregationService LogAggregationService, appId ApplicationId, expectedContainerIds ContainerId[], logFiles String[], numOfContainerLogs int, multiLogs boolean) : LogFileStatusInLastCycle in class org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService | From | To | |
Rename Parameter | 1 | ||
Rename Parameter numOfContainerLogs : int to numOfLogsPerContainer : int in method private verifyContainerLogs(logAggregationService LogAggregationService, appId ApplicationId, expectedContainerIds ContainerId[], logFiles String[], numOfLogsPerContainer int, multiLogs boolean) : LogFileStatusInLastCycle in class org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService | From | To |