81df7b586a16f8226c7b01c139c1c70c060399c3
Files Diff
- Added: 5
- Removed: 1
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Attribute | 1 | ||
Rename Attribute blacklist : Set<String> to userBlacklist : Set<String> in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AppSchedulingInfo | From | To | |
Extract Method | 4 | ||
Extract Method public isWaitingForAMContainer(applicationId ApplicationId) : boolean extracted from public pullNewlyAllocatedContainersAndNMTokens() : ContainersAndNMTokensAllocation in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt | From | To | |
Extract Method public waitForAttemptScheduled(app RMApp, rm MockRM) : RMAppAttempt extracted from public launchAM(app RMApp, rm MockRM, nm MockNM) : MockAM in class org.apache.hadoop.yarn.server.resourcemanager.MockRM | From | To | |
Extract Method private allocateContainers(nm1 MockNM, am1 MockAM, NUM_CONTAINERS int) : List<Container> extracted from public testAMRestartWithExistingContainers() : void in class org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart | From | To | |
Extract Method package updateUserOrAMBlacklist(blacklist Set<String>, blacklistAdditions List<String>, blacklistRemovals List<String>) : void extracted from public updateBlacklist(blacklistAdditions List<String>, blacklistRemovals List<String>) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AppSchedulingInfo | From | To |