02a9710a099fc9572122d87dd3e90c78522f5836
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type entityIdPrefix : long to entityIdPrefix : Long in method public EntityRowKey(clusterId String, userId String, flowName String, flowRunId Long, appId String, entityType String, entityIdPrefix Long, entityId String) in class org.apache.hadoop.yarn.server.timelineservice.storage.entity.EntityRowKey | From | To | |
Rename Variable | 1 | ||
Rename Variable te5 : TimelineEntities to userEntities : TimelineEntities in method private loadData() : void in class org.apache.hadoop.yarn.server.timelineservice.reader.TestTimelineReaderWebServicesHBaseStorage | From | To | |
Change Return Type | 1 | ||
Change Return Type long to Long in method public getEntityIdPrefix() : Long in class org.apache.hadoop.yarn.server.timelineservice.storage.entity.EntityRowKey | From | To | |
Change Variable Type | 2 | ||
Change Variable Type entityPrefixId : long to entityPrefixId : Long in method public decode(rowKey byte[]) : EntityRowKey in class org.apache.hadoop.yarn.server.timelineservice.storage.entity.EntityRowKey.EntityRowKeyConverter | From | To | |
Change Variable Type entities : NavigableSet<TimelineEntity> to entities : Set<TimelineEntity> in method public readEntities(hbaseConf Configuration, conn Connection) : Set<TimelineEntity> in class org.apache.hadoop.yarn.server.timelineservice.storage.reader.TimelineEntityReader | From | To | |
Extract Method | 3 | ||
Extract Method public getAppAttempt(req HttpServletRequest, res HttpServletResponse, clusterId String, appId String, appAttemptId String, userId String, flowName String, flowRunId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String, entityIdPrefix String) : TimelineEntity extracted from public getAppAttempt(req HttpServletRequest, res HttpServletResponse, clusterId String, appId String, appAttemptId String, userId String, flowName String, flowRunId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String) : TimelineEntity in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Extract Method public getEntity(req HttpServletRequest, res HttpServletResponse, clusterId String, appId String, entityType String, entityId String, userId String, flowName String, flowRunId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String, entityIdPrefix String) : TimelineEntity extracted from public getEntity(req HttpServletRequest, res HttpServletResponse, clusterId String, appId String, entityType String, entityId String, userId String, flowName String, flowRunId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String) : TimelineEntity in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Extract Method public getContainer(req HttpServletRequest, res HttpServletResponse, clusterId String, appId String, containerId String, userId String, flowName String, flowRunId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String, entityIdPrefix String) : TimelineEntity extracted from public getContainer(req HttpServletRequest, res HttpServletResponse, clusterId String, appId String, containerId String, userId String, flowName String, flowRunId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String) : TimelineEntity in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type entityIdPrefix : long to entityIdPrefix : Long in class org.apache.hadoop.yarn.server.timelineservice.storage.entity.EntityRowKey | From | To | |
Rename Parameter | 3 | ||
Rename Parameter clusterId : String to entityIdPrefix : String in method public getContainer(req HttpServletRequest, res HttpServletResponse, appId String, containerId String, userId String, flowName String, flowRunId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String, entityIdPrefix String) : TimelineEntity in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Rename Parameter clusterId : String to entityIdPrefix : String in method public getAppAttempt(req HttpServletRequest, res HttpServletResponse, appId String, appAttemptId String, userId String, flowName String, flowRunId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String, entityIdPrefix String) : TimelineEntity in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Rename Parameter clusterId : String to entityIdPrefix : String in method public getEntity(req HttpServletRequest, res HttpServletResponse, appId String, entityType String, entityId String, userId String, flowName String, flowRunId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String, entityIdPrefix String) : TimelineEntity in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To |