5257f50abb71905ef3068fd45541d00ce9e8f355
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 26
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private parse(str String) : QueuePlacementPolicy renamed to private createPolicy(str String) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy | From | To | |
Rename Method package replaceQueueFromPlacementContext(placementContext ApplicationPlacementContext, context ApplicationSubmissionContext) : void renamed to private copyPlacementQueueToSubmissionContext(placementContext ApplicationPlacementContext, context ApplicationSubmissionContext) : void in class org.apache.hadoop.yarn.server.resourcemanager.RMAppManager | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method public testNestedUserQueue() : void from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler to public testQueueSubmitWithAutoCreateQueue() : void from class org.apache.hadoop.yarn.server.resourcemanager.TestAppManagerWithFairScheduler | From | To | |
Move And Rename Method public testAssignToBadDefaultQueue() : void from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler to public testQueueSubmitWithRootPermission() : void from class org.apache.hadoop.yarn.server.resourcemanager.TestAppManagerWithFairScheduler | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type conf : Configuration to scheduler : FairScheduler in method public AllocationConfiguration(scheduler FairScheduler) in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationConfiguration | From | To | |
Rename Variable | 2 | ||
Rename Variable conf : FairSchedulerConfiguration to fsConf : FairSchedulerConfiguration in method public testEmptyChildQueues() : void in class org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.TestFairSchedulerQueueInfo | From | To | |
Rename Variable appAttemptId : ApplicationAttemptId to attId1 : ApplicationAttemptId in method public testUserAsDefaultQueueWithLeadingTrailingSpaceUserName() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler | From | To | |
Change Return Type | 2 | ||
Change Return Type QueuePlacementPolicy to void in method private getQueuePlacementPolicy(allocationFileParser AllocationFileParser) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationFileLoaderService | From | To | |
Change Return Type QueuePlacementPolicy to void in method private createPolicy(str String) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy | From | To | |
Move Attribute | 1 | ||
Move Attribute private conf : Configuration from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy to private conf : Configuration from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestAllocationFileLoaderService | From | To | |
Replace Variable With Attribute | 5 | ||
Replace Variable With Attribute newAppMonitor : TestRMAppManager to rmAppManager : TestRMAppManager in method public testQueueSubmitWithHighQueueContainerSize() : void in class org.apache.hadoop.yarn.server.resourcemanager.TestAppManagerWithFairScheduler | From | To | |
Replace Variable With Attribute policy : QueuePlacementPolicy to asc : ApplicationSubmissionContext in method public testNestedUserQueueSecondaryGroup() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy | From | To | |
Replace Variable With Attribute policy : QueuePlacementPolicy to asc : ApplicationSubmissionContext in method public testNestedUserQueuePrimaryGroupNoCreate() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy | From | To | |
Replace Variable With Attribute policy : QueuePlacementPolicy to asc : ApplicationSubmissionContext in method public testUserContainsPeriod() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy | From | To | |
Replace Variable With Attribute allocFile : String to allocFileName : String in method public setup() : void in class org.apache.hadoop.yarn.server.resourcemanager.TestAppManagerWithFairScheduler | From | To | |
Extract Variable | 1 | ||
Extract Variable placementManager : PlacementManager in method public setup() : void from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestMaxRunningAppsEnforcer | From | To | |
Change Variable Type | 6 | ||
Change Variable Type policy : QueuePlacementPolicy to asc : ApplicationSubmissionContext in method public testNestedUserQueueSecondaryGroup() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy | From | To | |
Change Variable Type policy : QueuePlacementPolicy to asc : ApplicationSubmissionContext in method public testNestedUserQueuePrimaryGroupNoCreate() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy | From | To | |
Change Variable Type policy : QueuePlacementPolicy to asc : ApplicationSubmissionContext in method public testUserContainsPeriod() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy | From | To | |
Change Variable Type defaultRule : Default to defaultRule : DefaultPlacementRule in method public testDefaultRuleInitializesProperlyWhenPolicyNotConfigured() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler | From | To | |
Change Variable Type conf : Configuration to conf : FairSchedulerConfiguration in method public setup() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestMaxRunningAppsEnforcer | From | To | |
Change Variable Type rule : QueuePlacementRule to rule : PlacementRule in method public testDefaultRuleInitializesProperlyWhenPolicyNotConfigured() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler | From | To | |
Split Attribute | 1 | ||
Split Attribute configuredQueues : Map<FSQueueType,Set<String>> to [queueManager : QueueManager, scheduler : FairScheduler] in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy | From | To | |
Extract Method | 1 | ||
Extract Method private createAppSubmitCtx(appId ApplicationId, res Resource) : ApplicationSubmissionContext extracted from public testQueueSubmitWithHighQueueContainerSize() : void in class org.apache.hadoop.yarn.server.resourcemanager.TestAppManagerWithFairScheduler | From | To | |
Rename Parameter | 1 | ||
Rename Parameter conf : Configuration to scheduler : FairScheduler in method public AllocationConfiguration(scheduler FairScheduler) in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationConfiguration | From | To |