d76fbbc9b82e720d7d5188f9ae2f56a8d78f3a98
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method protected init(response HttpServletResponse) : void renamed to protected initForReadableEndpoints(response HttpServletResponse) : void in class org.apache.hadoop.yarn.server.webapp.WebServices | From | To | |
| Rename Method private init() : void renamed to private initForReadableEndpoints() : void in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Inline Method | 3 | ||
| Inline Method private createKerberosUserGroupInformation(hsr HttpServletRequest) : UserGroupInformation inlined to public cancelDelegationToken(hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Inline Method private createKerberosUserGroupInformation(hsr HttpServletRequest) : UserGroupInformation inlined to public postDelegationTokenExpiration(hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Inline Method private createKerberosUserGroupInformation(hsr HttpServletRequest) : UserGroupInformation inlined to public postDelegationToken(tokenData DelegationToken, hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Variable | 3 | ||
| Extract Variable msg : String in method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void from class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method | 14 | ||
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public submitReservation(resContext ReservationSubmissionRequestInfo, hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public createNewReservation(hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public submitApplication(newApp ApplicationSubmissionContextInfo, hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public updateAppState(targetState AppState, hsr HttpServletRequest, appId String) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public addToClusterNodeLabels(newNodeLabels NodeLabelsInfo, hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public updateSchedulerConfiguration(mutationInfo SchedConfUpdateInfo, hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public updateApplicationPriority(targetPriority AppPriority, hsr HttpServletRequest, appId String) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public createNewApplication(hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public updateAppQueue(targetQueue AppQueue, hsr HttpServletRequest, appId String) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public removeFromCluserNodeLabels(oldNodeLabels Set<String>, hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public deleteReservation(resContext ReservationDeleteRequestInfo, hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public dumpSchedulerLogs(time String, hsr HttpServletRequest) : String in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public updateApplicationTimeout(appTimeout AppTimeoutInfo, hsr HttpServletRequest, appId String) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
| Extract Method private initForWritableEndpoints(callerUGI UserGroupInformation, doAdminACLsCheck boolean) : void extracted from public updateReservation(resContext ReservationUpdateRequestInfo, hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To |