5a8f1e8aaa026fd33be0bd8a69f0ee78f54392ce
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public createWriterInTmp(mobFileName MobFileName, basePath Path, maxKeyCount long, compression Compression.Algorithm) : StoreFileWriter from class org.apache.hadoop.hbase.regionserver.HMobStore to public createWriter(conf Configuration, fs FileSystem, family HColumnDescriptor, path Path, maxKeyCount long, compression Compression.Algorithm, cacheConfig CacheConfig, cryptoContext Encryption.Context, checksumType ChecksumType, bytesPerChecksum int, blocksize int, bloomType BloomType, isCompaction boolean) : StoreFileWriter from class org.apache.hadoop.hbase.mob.MobUtils | From | To | |
Rename Variable | 1 | ||
Rename Variable closeCheckInterval : int to closeCheckSizeLimit : int in method protected performCompaction(fd FileDetails, scanner InternalScanner, writer CellSink, smallestReadPoint long, cleanSeqId boolean, throughputController ThroughputController, major boolean, numofFilesToCompact int) : boolean in class org.apache.hadoop.hbase.mob.DefaultMobStoreCompactor | From | To | |
Extract Variable | 1 | ||
Extract Variable len : int in method protected performCompaction(fd FileDetails, scanner InternalScanner, writer CellSink, smallestReadPoint long, cleanSeqId boolean, throughputController ThroughputController, major boolean, numofFilesToCompact int) : boolean from class org.apache.hadoop.hbase.mob.DefaultMobStoreCompactor | From | To | |
Extract Method | 3 | ||
Extract Method public createWriter(conf Configuration, fs FileSystem, family HColumnDescriptor, mobFileName MobFileName, basePath Path, maxKeyCount long, compression Compression.Algorithm, cacheConfig CacheConfig, cryptoContext Encryption.Context, isCompaction boolean) : StoreFileWriter extracted from public createWriter(conf Configuration, fs FileSystem, family HColumnDescriptor, date String, basePath Path, maxKeyCount long, compression Compression.Algorithm, startKey byte[], cacheConfig CacheConfig, cryptoContext Encryption.Context) : StoreFileWriter in class org.apache.hadoop.hbase.mob.MobUtils | From | To | |
Extract Method public createWriter(conf Configuration, fs FileSystem, family HColumnDescriptor, mobFileName MobFileName, basePath Path, maxKeyCount long, compression Compression.Algorithm, cacheConfig CacheConfig, cryptoContext Encryption.Context, isCompaction boolean) : StoreFileWriter extracted from public createWriter(conf Configuration, fs FileSystem, family HColumnDescriptor, date String, basePath Path, maxKeyCount long, compression Compression.Algorithm, startKey String, cacheConfig CacheConfig, cryptoContext Encryption.Context) : StoreFileWriter in class org.apache.hadoop.hbase.mob.MobUtils | From | To | |
Extract Method public createWriter(conf Configuration, fs FileSystem, family HColumnDescriptor, mobFileName MobFileName, basePath Path, maxKeyCount long, compression Compression.Algorithm, cacheConfig CacheConfig, cryptoContext Encryption.Context, isCompaction boolean) : StoreFileWriter extracted from public createDelFileWriter(conf Configuration, fs FileSystem, family HColumnDescriptor, date String, basePath Path, maxKeyCount long, compression Compression.Algorithm, startKey byte[], cacheConfig CacheConfig, cryptoContext Encryption.Context) : StoreFileWriter in class org.apache.hadoop.hbase.mob.MobUtils | From | To | |
Rename Parameter | 1 | ||
Rename Parameter basePath : Path to path : Path in method public createWriter(conf Configuration, fs FileSystem, family HColumnDescriptor, path Path, maxKeyCount long, compression Compression.Algorithm, cacheConfig CacheConfig, cryptoContext Encryption.Context, checksumType ChecksumType, bytesPerChecksum int, blocksize int, bloomType BloomType, isCompaction boolean) : StoreFileWriter in class org.apache.hadoop.hbase.mob.MobUtils | From | To |