92d90c3a243134177f192d1d473dd606c79a91fc
Files Diff
- Added: 20
- Removed: 5
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public createTimelineEntityTable(admin Admin, hbaseConf Configuration) : void from class org.apache.hadoop.yarn.server.timelineservice.storage.TimelineSchemaCreator to public createTable(admin Admin, hbaseConf Configuration) : void from class org.apache.hadoop.yarn.server.timelineservice.storage.entity.EntityTable | From | To | |
Inline Method | 2 | ||
Inline Method private checkMetricsTimeseries(metricCells List<Cell>, m1 TimelineMetric) : void inlined to public testWriteEntityToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineWriterImpl | From | To | |
Inline Method private checkMetricsSizeAndKey(metricsResult NavigableMap<byte[],byte[]>, metrics Set<TimelineMetric>) : void inlined to public testWriteEntityToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineWriterImpl | From | To | |
Rename Variable | 8 | ||
Rename Variable c1 : Cell to metricEntry : Entry<Long,Number> in method public testWriteEntityToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineWriterImpl | From | To | |
Rename Variable id : String to eventId : String in method private storeEvents(rowKey byte[], events Set<TimelineEvent>) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl | From | To | |
Rename Variable row : byte[] to rowKey : byte[] in method public write(clusterId String, userId String, flowName String, flowVersion String, flowRunId long, appId String, data TimelineEntities) : TimelineWriteResponse in class org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl | From | To | |
Rename Variable m1 : TimelineMetric to isRelatedToKey : String in method public testWriteEntityToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineWriterImpl | From | To | |
Rename Variable timeseries : Map<Long,Number> to conf : Map<String,String> in method public testWriteEntityToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineWriterImpl | From | To | |
Rename Variable entityTable_TTL_Metrics : String to entityTableTTLMetrics : String in method public main(args String[]) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TimelineSchemaCreator | From | To | |
Rename Variable idBytes : byte[] to columnQualifierFirst : byte[] in method private storeEvents(rowKey byte[], events Set<TimelineEvent>) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl | From | To | |
Rename Variable key : String to metricColumnQualifier : String in method private storeMetrics(rowKey byte[], metrics Set<TimelineMetric>) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl | From | To | |
Move Class | 1 | ||
Move Class org.apache.hadoop.yarn.server.timelineservice.storage.Range moved to org.apache.hadoop.yarn.server.timelineservice.storage.common.Range | From | To | |
Merge Variable | 1 | ||
Merge Variable [metrics : Set<TimelineMetric>, metricsResult : NavigableMap<byte[],byte[]>] to metricMap : NavigableMap<Long,Number> in method public testWriteEntityToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineWriterImpl | From | To | |
Change Variable Type | 3 | ||
Change Variable Type m1 : TimelineMetric to isRelatedToKey : String in method public testWriteEntityToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineWriterImpl | From | To | |
Change Variable Type timeseries : Map<Long,Number> to conf : Map<String,String> in method public testWriteEntityToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineWriterImpl | From | To | |
Change Variable Type c1 : Cell to metricEntry : Entry<Long,Number> in method public testWriteEntityToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineWriterImpl | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type entityTable : BufferedMutator to entityTable : TypedBufferedMutator<EntityTable> in class org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl | From | To |