448ba3a78f50df2ffac874c3768e9f50d52b15f6
Files Diff
- Added: 13
- Removed: 1
- Renamed: 0
- Modified: 53
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Merge Attribute | 1 | ||
| Merge Attribute [balancerOn : Boolean, master : ServerName, backupMasters : List<ServerName>, liveServers : Map<ServerName,ServerLoad>, deadServers : List<ServerName>, intransition : List<RegionState>] to metrics : ClusterMetrics in class org.apache.hadoop.hbase.ClusterStatus | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type option : ClusterStatus.Option to option : ClusterMetrics.Option in method public toOption(option ClusterMetrics.Option) : ClusterStatusProtos.Option in class org.apache.hadoop.hbase.ClusterMetricsBuilder | From | To | |
| Move Method | 2 | ||
| Move Method public toOption(option ClusterStatus.Option) : ClusterStatusProtos.Option from class org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil to public toOption(option ClusterMetrics.Option) : ClusterStatusProtos.Option from class org.apache.hadoop.hbase.ClusterMetricsBuilder | From | To | |
| Move Method public toOption(option ClusterStatusProtos.Option) : ClusterStatus.Option from class org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil to public toOption(option ClusterStatusProtos.Option) : ClusterMetrics.Option from class org.apache.hadoop.hbase.ClusterMetricsBuilder | From | To | |
| Move Attribute | 4 | ||
| Move Attribute private balancerOn : Boolean from class org.apache.hadoop.hbase.ClusterStatus to private balancerOn : Boolean from class org.apache.hadoop.hbase.ClusterMetricsBuilder | From | To | |
| Move Attribute private masterInfoPort : int from class org.apache.hadoop.hbase.ClusterStatus to private masterInfoPort : int from class org.apache.hadoop.hbase.ClusterMetricsBuilder | From | To | |
| Move Attribute private hbaseVersion : String from class org.apache.hadoop.hbase.ClusterStatus to private hbaseVersion : String from class org.apache.hadoop.hbase.ClusterMetricsBuilder | From | To | |
| Move Attribute private clusterId : String from class org.apache.hadoop.hbase.ClusterStatus to private clusterId : String from class org.apache.hadoop.hbase.ClusterMetricsBuilder | From | To | |
| Extract Class | 2 | ||
| Extract Class org.apache.hadoop.hbase.ClusterMetricsBuilder from class org.apache.hadoop.hbase.ClusterStatus | From | To | |
| Extract Class org.apache.hadoop.hbase.ClusterMetricsBuilder from class org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil | From | To | |
| Move Class | 2 | ||
| Move Class org.apache.hadoop.hbase.client.TestClientClusterStatus moved to org.apache.hadoop.hbase.TestClientClusterStatus | From | To | |
| Move Class org.apache.hadoop.hbase.ClusterStatus.Option moved to org.apache.hadoop.hbase.ClusterMetrics.Option | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type builder : ClusterStatus.Builder to builder : ClusterMetricsBuilder in method public getClusterStatusWithoutCoprocessor(options EnumSet<Option>) : ClusterStatus in class org.apache.hadoop.hbase.master.HMaster | From | To | |
| Rename Method | 2 | ||
| Rename Method public getStorefilesIndexSize() : long renamed to public getStorefilesRootLevelIndexSize() : long in class org.apache.hadoop.hbase.regionserver.HStore | From | To | |
| Rename Method public getStorefilesIndexSize() : long renamed to public getStorefilesRootLevelIndexSize() : long in class org.apache.hadoop.hbase.regionserver.Store | From | To | |
| Pull Up Method | 1 | ||
| Pull Up Method public getNameAsString() : String from class org.apache.hadoop.hbase.RegionLoad to public getNameAsString() : String from class org.apache.hadoop.hbase.RegionMetrics | From | To | |
| Rename Variable | 1 | ||
| Rename Variable rootIndexSizeKB : int to rootLevelIndexSizeKB : int in method package createRegionLoad(r HRegion, regionLoadBldr RegionLoad.Builder, regionSpecifier RegionSpecifier.Builder) : RegionLoad in class org.apache.hadoop.hbase.regionserver.HRegionServer | From | To | |
| Change Return Type | 3 | ||
| Change Return Type long to int in method public getStorefileIndexSizeKB() : int in class org.apache.hadoop.hbase.RegionLoad | From | To | |
| Change Return Type List<StoreSequenceId> to List<ClusterStatusProtos.StoreSequenceId> in method public getStoreCompleteSequenceId() : List<ClusterStatusProtos.StoreSequenceId> in class org.apache.hadoop.hbase.RegionLoad | From | To | |
| Change Return Type ClusterStatus.Option to ClusterMetrics.Option in method public toOption(option ClusterStatusProtos.Option) : ClusterMetrics.Option in class org.apache.hadoop.hbase.ClusterMetricsBuilder | From | To | |
| Extract Interface | 3 | ||
| Extract Interface org.apache.hadoop.hbase.ClusterMetrics from classes [org.apache.hadoop.hbase.ClusterStatus] | From | To | |
| Extract Interface org.apache.hadoop.hbase.RegionMetrics from classes [org.apache.hadoop.hbase.RegionLoad] | From | To | |
| Extract Interface org.apache.hadoop.hbase.ServerMetrics from classes [org.apache.hadoop.hbase.ServerLoad] | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter cls : ClusterStatusProtos.ReplicationLoadSource to rls : ClusterStatusProtos.ReplicationLoadSource in method public toReplicationLoadSource(rls ClusterStatusProtos.ReplicationLoadSource) : ReplicationLoadSource in class org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil | From | To | |
| Rename Parameter cls : ClusterStatusProtos.ReplicationLoadSink to rls : ClusterStatusProtos.ReplicationLoadSink in method public toReplicationLoadSink(rls ClusterStatusProtos.ReplicationLoadSink) : ReplicationLoadSink in class org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil | From | To |