580d884913c200f6c6cae475d8c183a4b61ff710
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 6 | ||
Move Method private createSchema() : void from class org.apache.hadoop.yarn.server.timelineservice.storage.flow.TestHBaseStorageFlowActivity to public createSchema(conf Configuration) : void from class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Move Method private createSchema(conf Configuration) : void from class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineStorageSchema to public createSchema(conf Configuration) : void from class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Move Method private createSchema() : void from class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineStorageEntities to public createSchema(conf Configuration) : void from class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Move Method private createSchema() : void from class org.apache.hadoop.yarn.server.timelineservice.storage.flow.TestHBaseStorageFlowRunCompaction to public createSchema(conf Configuration) : void from class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Move Method private createSchema() : void from class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineStorageApps to public createSchema(conf Configuration) : void from class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Move Method private createSchema() : void from class org.apache.hadoop.yarn.server.timelineservice.storage.flow.TestHBaseStorageFlowRun to public createSchema(conf Configuration) : void from class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method | 18 | ||
Extract Method private getRelatesTo1() : Map<String,Set<String>> extracted from package loadEntities(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getConfig1() : Map<String,String> extracted from package loadEntities(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getInfoMap1() : Map<String,Object> extracted from package loadEntities(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getInfoMap3() : Map<String,Object> extracted from package loadApps(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getIsRelatedTo2() : Map<String,Set<String>> extracted from package loadEntities(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getInfoMap2() : Map<String,Object> extracted from package loadEntities(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getConfig2() : Map<String,String> extracted from package loadEntities(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getMetricValues1(ts long) : Map<Long,Number> extracted from package loadEntities(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getMetricValues2(ts1 long) : Map<Long,Number> extracted from package loadEntities(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getMetrics4() : Set<TimelineMetric> extracted from package loadApps(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private addStartEvent(ts long) : TimelineEvent extracted from package loadApps(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private addStartEvent(ts long) : TimelineEvent extracted from package loadEntities(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getIsRelatedTo1() : Map<String,Set<String>> extracted from package loadEntities(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private checkCoprocessorExists(table TableName, exists boolean) : void extracted from public checkCoProcessorOff() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.flow.TestHBaseStorageFlowRun | From | To | |
Extract Method private getMetric4(ts long) : TimelineMetric extracted from package loadApps(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To | |
Extract Method private getInfoMap4() : Map<String,Object> extracted from package loadApps(util HBaseTestingUtility) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.DataGeneratorForTest | From | To |