1f710484e5b8ab4d5c67379c012004e8a4242d15
Files Diff
- Added: 7
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Replace Variable With Attribute | 4 | ||
| Replace Variable With Attribute hbr : HBaseTimelineReaderImpl to reader : HBaseTimelineReaderImpl in method public stop() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineStorage | From | To | |
| Extract Variable | 2 | ||
| Extract Variable newList : FilterList in method protected getResults(hbaseConf Configuration, conn Connection, filterList FilterList) : ResultScanner from class org.apache.hadoop.yarn.server.timelineservice.storage.ApplicationEntityReader | From | To | |
| Extract Variable newList : FilterList in method protected getResults(hbaseConf Configuration, conn Connection, filterList FilterList) : ResultScanner from class org.apache.hadoop.yarn.server.timelineservice.storage.FlowRunEntityReader | From | To | |
| Extract Method | 11 | ||
| Extract Method public getColumnPrefixBytes(qualifierPrefix String) : byte[] extracted from public store(rowKey byte[], tableMutator TypedBufferedMutator<EntityTable>, qualifier String, timestamp Long, inputValue Object, attributes Attribute...) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.entity.EntityColumnPrefix | From | To | |
| Extract Method public stop() : void extracted from public testWriteApplicationToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineStorage | From | To | |
| Extract Method public stop() : void extracted from public testWriteEntityToHBase() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineStorage | From | To | |
| Extract Method public getColumnPrefixBytes(qualifierPrefix byte[]) : byte[] extracted from public store(rowKey byte[], tableMutator TypedBufferedMutator<ApplicationTable>, qualifier byte[], timestamp Long, inputValue Object, attributes Attribute...) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.application.ApplicationColumnPrefix | From | To | |
| Extract Method public getColumnPrefixBytes(qualifierPrefix String) : byte[] extracted from public store(rowKey byte[], tableMutator TypedBufferedMutator<ApplicationTable>, qualifier String, timestamp Long, inputValue Object, attributes Attribute...) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.application.ApplicationColumnPrefix | From | To | |
| Extract Method public stop() : void extracted from public testEventsWithEmptyInfo() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineStorage | From | To | |
| Extract Method public getColumnPrefixBytes(qualifierPrefix String) : byte[] extracted from public store(rowKey byte[], tableMutator TypedBufferedMutator<FlowActivityTable>, qualifier String, timestamp Long, inputValue Object, attributes Attribute...) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowActivityColumnPrefix | From | To | |
| Extract Method public getColumnPrefixBytes(qualifierPrefix byte[]) : byte[] extracted from public store(rowKey byte[], tableMutator TypedBufferedMutator<FlowActivityTable>, qualifier byte[], timestamp Long, inputValue Object, attributes Attribute...) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowActivityColumnPrefix | From | To | |
| Extract Method public getColumnPrefixBytes(qualifierPrefix byte[]) : byte[] extracted from public store(rowKey byte[], tableMutator TypedBufferedMutator<EntityTable>, qualifier byte[], timestamp Long, inputValue Object, attributes Attribute...) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.entity.EntityColumnPrefix | From | To | |
| Extract Method public stop() : void extracted from public testEvents() : void in class org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineStorage | From | To | |
| Extract Method public getColumnPrefixBytes(qualifierPrefix byte[]) : byte[] extracted from public store(rowKey byte[], tableMutator TypedBufferedMutator<FlowRunTable>, qualifier byte[], timestamp Long, inputValue Object, attributes Attribute...) : void in class org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunColumnPrefix | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter qualifier : String to qualifierPrefix : String in method public getColumnPrefixBytes(qualifierPrefix String) : byte[] in class org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunColumnPrefix | From | To |