7853ec8d2fb8731b7f7c28fd87491a0a2d47967e
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public newAllocationTags(namespace AllocationTagNamespace, tags Set<String>) : AllocationTags renamed to public createOtherAppAllocationTags(currentApp ApplicationId, tags Set<String>) : AllocationTags in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTags | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type namespace : AllocationTagNamespace to namespace : TargetApplicationsNamespace in method private AllocationTags(namespace TargetApplicationsNamespace, allocationTags Set<String>) in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTags | From | To | |
Change Parameter Type appIds : Set<ApplicationId> to allocationTags : AllocationTags in method private aggregateAllocationTags(allocationTags AllocationTags, mapping Map<ApplicationId,TypeToCountedTags>) : TypeToCountedTags in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTagsManager | From | To | |
Change Parameter Type namespace : AllocationTagNamespace to currentApp : ApplicationId in method public createOtherAppAllocationTags(currentApp ApplicationId, tags Set<String>) : AllocationTags in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTags | From | To | |
Change Return Type | 3 | ||
Change Return Type AllocationTagNamespace to TargetApplicationsNamespace in method public parse(namespaceStr String) : TargetApplicationsNamespace in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TargetApplicationsNamespace | From | To | |
Change Return Type AllocationTagNamespace to TargetApplicationsNamespace in method public getNamespace() : TargetApplicationsNamespace in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTags | From | To | |
Change Return Type AllocationTagNamespace to TargetApplicationsNamespace in method private parseAppID(appIDStr String) : TargetApplicationsNamespace in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TargetApplicationsNamespace | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTagNamespace renamed to org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TargetApplicationsNamespace | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTagNamespace.AppLabel moved and renamed to org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TargetApplicationsNamespace.AppTag | From | To | |
Change Variable Type | 9 | ||
Change Variable Type namespace : AllocationTagNamespace to namespace : TargetApplicationsNamespace in method public testNamespaceParse() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestAllocationTagsNamespace | From | To | |
Change Variable Type allNs : AllocationTagNamespace.All to allNs : TargetApplicationsNamespace.All in method public testInterAppAntiAffinity() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation | From | To | |
Change Variable Type namespace : AllocationTagNamespace to namespace : TargetApplicationsNamespace in method public createGlobalAllocationTags(tags Set<String>) : AllocationTags in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTags | From | To | |
Change Variable Type namespace : AllocationTagNamespace to namespace : TargetApplicationsNamespace in method public createSingleAppAllocationTags(appId ApplicationId, tags Set<String>) : AllocationTags in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTags | From | To | |
Change Variable Type notSelf : AllocationTagNamespace to notSelf : TargetApplicationsNamespace in method public testNotSelfAppConstraints() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementConstraintsUtil | From | To | |
Change Variable Type namespace : AllocationTagNamespace to namespace : TargetApplicationsNamespace in method public testInterAppConstraintsByAppID() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementConstraintsUtil | From | To | |
Change Variable Type self : AllocationTagNamespace to self : TargetApplicationsNamespace in method public testInterAppConstraintsByAppID() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementConstraintsUtil | From | To | |
Change Variable Type namespaceAll : AllocationTagNamespace to namespaceAll : TargetApplicationsNamespace in method public testGlobalAppConstraints() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementConstraintsUtil | From | To | |
Change Variable Type namespace : AllocationTagNamespace to namespace : TargetApplicationsNamespace in method public testNamespaceEvaluation() : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestAllocationTagsNamespace | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type ns : AllocationTagNamespace to ns : TargetApplicationsNamespace in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTags | From | To | |
Rename Parameter | 2 | ||
Rename Parameter appIds : Set<ApplicationId> to allocationTags : AllocationTags in method private aggregateAllocationTags(allocationTags AllocationTags, mapping Map<ApplicationId,TypeToCountedTags>) : TypeToCountedTags in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTagsManager | From | To | |
Rename Parameter namespace : AllocationTagNamespace to currentApp : ApplicationId in method public createOtherAppAllocationTags(currentApp ApplicationId, tags Set<String>) : AllocationTags in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.AllocationTags | From | To |