a5b27b3c678ad2f5cb8dbfa1b60ef5cd365f8bde
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 1 | ||
Inline Method public shouldRetry(errorCode int, retryContext ContainerRetryContext, remainingRetryAttempts int) : boolean inlined to public shouldRetry(errorCode int) : boolean in class org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerImpl | From | To | |
Extract Method | 1 | ||
Extract Method public newInstance(retryPolicy ContainerRetryPolicy, errorCodes Set<Integer>, maxRetries int, retryInterval int, failuresValidityInterval long) : ContainerRetryContext extracted from public newInstance(retryPolicy ContainerRetryPolicy, errorCodes Set<Integer>, maxRetries int, retryInterval int) : ContainerRetryContext in class org.apache.hadoop.yarn.api.records.ContainerRetryContext | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public setRestartTimes(restartTimes List<Long>) : void extracted from public ContainerImpl(conf Configuration, dispatcher Dispatcher, launchContext ContainerLaunchContext, creds Credentials, metrics NodeManagerMetrics, containerTokenIdentifier ContainerTokenIdentifier, context Context, rcs RecoveredContainerState) in class org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerImpl & moved to class org.apache.hadoop.yarn.server.nodemanager.recovery.NMStateStoreService.RecoveredContainerState | From | To |