c81a2e1d197b9995103797348cb5cc4bcf9a015b
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Variable | 1 | ||
Extract Variable metricType : TimelineMetric.Type in method protected readMetrics(entity TimelineEntity, result Result, columnPrefix ColumnPrefix<?>) : void from class org.apache.hadoop.yarn.server.timelineservice.storage.reader.TimelineEntityReader | From | To | |
Extract Method | 3 | ||
Extract Method public getApp(req HttpServletRequest, res HttpServletResponse, clusterId String, appId String, flowName String, flowRunId String, userId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String) : TimelineEntity extracted from public getApp(req HttpServletRequest, res HttpServletResponse, clusterId String, appId String, flowName String, flowRunId String, userId String, confsToRetrieve String, metricsToRetrieve String, fields 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) : 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) : TimelineEntity in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Extract Method public getEntities(req HttpServletRequest, res HttpServletResponse, clusterId String, appId String, entityType String, userId String, flowName String, flowRunId String, limit String, createdTimeStart String, createdTimeEnd String, relatesTo String, isRelatedTo String, infofilters String, conffilters String, metricfilters String, eventfilters String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String) : Set<TimelineEntity> extracted from public getEntities(req HttpServletRequest, res HttpServletResponse, clusterId String, appId String, entityType String, userId String, flowName String, flowRunId String, limit String, createdTimeStart String, createdTimeEnd String, relatesTo String, isRelatedTo String, infofilters String, conffilters String, metricfilters String, eventfilters String, confsToRetrieve String, metricsToRetrieve String, fields String) : Set<TimelineEntity> in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Rename Parameter | 5 | ||
Rename Parameter clusterId : String to metricsLimit : String in method public getFlowRunApps(req HttpServletRequest, res HttpServletResponse, userId String, flowName String, flowRunId String, limit String, createdTimeStart String, createdTimeEnd String, relatesTo String, isRelatedTo String, infofilters String, conffilters String, metricfilters String, eventfilters String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String) : Set<TimelineEntity> in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Rename Parameter clusterId : String to metricsLimit : String in method public getApp(req HttpServletRequest, res HttpServletResponse, appId String, flowName String, flowRunId String, userId String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String) : TimelineEntity in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Rename Parameter clusterId : String to metricsLimit : String in method public getFlowApps(req HttpServletRequest, res HttpServletResponse, userId String, flowName String, limit String, createdTimeStart String, createdTimeEnd String, relatesTo String, isRelatedTo String, infofilters String, conffilters String, metricfilters String, eventfilters String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String) : Set<TimelineEntity> in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Rename Parameter clusterId : String to metricsLimit : 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) : TimelineEntity in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Rename Parameter clusterId : String to metricsLimit : String in method public getEntities(req HttpServletRequest, res HttpServletResponse, appId String, entityType String, userId String, flowName String, flowRunId String, limit String, createdTimeStart String, createdTimeEnd String, relatesTo String, isRelatedTo String, infofilters String, conffilters String, metricfilters String, eventfilters String, confsToRetrieve String, metricsToRetrieve String, fields String, metricsLimit String) : Set<TimelineEntity> in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To |