bdedcc5631fa9c8c400d4daa01b8a1947d4a12dd
Files Diff
- Added: 13
- Removed: 0
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public checkBulkLoad(fs FileSystem, paths List<String>) : void renamed to public computeBulkLoadSize(fs FileSystem, paths List<String>) : long in class org.apache.hadoop.hbase.quotas.policies.DefaultViolationPolicyEnforcement | From | To | |
Rename Method public checkBulkLoad(fs FileSystem, paths List<String>) : void renamed to public computeBulkLoadSize(fs FileSystem, paths List<String>) : long in class org.apache.hadoop.hbase.quotas.SpaceViolationPolicyEnforcement | From | To | |
Pull Up Method | 1 | ||
Pull Up Method private addSingleFile(fs FileSystem, path String) : long from class org.apache.hadoop.hbase.quotas.policies.DefaultViolationPolicyEnforcement to package getFileSize(fs FileSystem, path String) : long from class org.apache.hadoop.hbase.quotas.policies.AbstractViolationPolicyEnforcement | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type onlineRegionSizes : Map<RegionInfo,Long> to regionSizeStore : RegionSizeStore in method public reportRegionSizesForQuotas(regionSizeStore RegionSizeStore) : boolean in class org.apache.hadoop.hbase.regionserver.HRegionServer | From | To | |
Change Parameter Type regionSizes : Map<RegionInfo,Long> to regionSizes : RegionSizeStore in method package buildRegionSpaceUseReportRequest(regionSizes RegionSizeStore) : RegionSpaceUseReportRequest in class org.apache.hadoop.hbase.regionserver.HRegionServer | From | To | |
Move Method | 1 | ||
Move Method private generateFileToLoad(tn TableName, numFiles int, numRowsPerFile int) : ClientServiceCallable<Void> from class org.apache.hadoop.hbase.quotas.TestSpaceQuotas to package generateFileToLoad(tn TableName, numFiles int, numRowsPerFile int) : ClientServiceCallable<Boolean> from class org.apache.hadoop.hbase.quotas.SpaceQuotaHelperForTests | From | To | |
Rename Variable | 2 | ||
Rename Variable sizes : Map<RegionInfo,Long> to store : RegionSizeStore in method public testConversion() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerRegionSpaceUseReport | From | To | |
Rename Variable onlineRegionSizes : Map<RegionInfo,Long> to regionSizeStore : RegionSizeStore in method protected chore() : void in class org.apache.hadoop.hbase.quotas.FileSystemUtilizationChore | From | To | |
Change Return Type | 3 | ||
Change Return Type ClientServiceCallable<Void> to ClientServiceCallable<Boolean> in method package generateFileToLoad(tn TableName, numFiles int, numRowsPerFile int) : ClientServiceCallable<Boolean> in class org.apache.hadoop.hbase.quotas.SpaceQuotaHelperForTests | From | To | |
Change Return Type void to long in method public computeBulkLoadSize(fs FileSystem, paths List<String>) : long in class org.apache.hadoop.hbase.quotas.policies.DefaultViolationPolicyEnforcement | From | To | |
Change Return Type void to long in method public computeBulkLoadSize(fs FileSystem, paths List<String>) : long in class org.apache.hadoop.hbase.quotas.SpaceViolationPolicyEnforcement | From | To | |
Change Variable Type | 6 | ||
Change Variable Type onlineRegionSizes : Map<RegionInfo,Long> to regionSizeStore : RegionSizeStore in method protected chore() : void in class org.apache.hadoop.hbase.quotas.FileSystemUtilizationChore | From | To | |
Change Variable Type caller : RpcRetryingCaller<Void> to caller : RpcRetryingCaller<Boolean> in method public testNoBulkLoadsWithNoWrites() : void in class org.apache.hadoop.hbase.quotas.TestSpaceQuotas | From | To | |
Change Variable Type sizes : Map<RegionInfo,Long> to store : RegionSizeStore in method public testConversion() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerRegionSpaceUseReport | From | To | |
Change Variable Type callable : ClientServiceCallable<Void> to callable : ClientServiceCallable<Boolean> in method public testNoBulkLoadsWithNoWrites() : void in class org.apache.hadoop.hbase.quotas.TestSpaceQuotas | From | To | |
Change Variable Type caller : RpcRetryingCaller<Void> to caller : RpcRetryingCaller<Boolean> in method public testAtomicBulkLoadUnderQuota() : void in class org.apache.hadoop.hbase.quotas.TestSpaceQuotas | From | To | |
Change Variable Type expectedSize : Long to expectedSize : RegionSize in method public testConversion() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerRegionSpaceUseReport | From | To | |
Extract Method | 1 | ||
Extract Method package buildReportAndSend(rss RegionServerStatusService.BlockingInterface, regionSizeStore RegionSizeStore) : void extracted from public reportRegionSizesForQuotas(onlineRegionSizes Map<RegionInfo,Long>) : boolean in class org.apache.hadoop.hbase.regionserver.HRegionServer | From | To | |
Rename Parameter | 1 | ||
Rename Parameter onlineRegionSizes : Map<RegionInfo,Long> to regionSizeStore : RegionSizeStore in method public reportRegionSizesForQuotas(regionSizeStore RegionSizeStore) : boolean in class org.apache.hadoop.hbase.regionserver.HRegionServer | From | To |