a536eb5c419cb507b4b0aed123be0255c57ef4dd
Files Diff
- Added: 8
- Removed: 1
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [nodeManager : NodeManager, eventQueue : EventQueue] to cluster : MiniOzoneCluster in class org.apache.hadoop.ozone.scm.TestContainerSQLCli | From | To | |
Rename Method | 1 | ||
Rename Method public getScmStorage() : SCMStorage renamed to public getScmStorageConfig() : SCMStorageConfig in class org.apache.hadoop.hdds.scm.server.StorageContainerManager | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type scmStore : SCMStorage to scmStore : SCMStorageConfig in method private initializeScmStorage(scmStore SCMStorageConfig) : void in class org.apache.hadoop.ozone.MiniOzoneClusterImpl.Builder | From | To | |
Rename Variable | 4 | ||
Rename Variable scmStorage : SCMStorage to scmStorageConfig : SCMStorageConfig in method public scmInit(conf OzoneConfiguration) : boolean in class org.apache.hadoop.hdds.scm.server.StorageContainerManager | From | To | |
Rename Variable key : byte[] to nextTXID : Long in method public addTransaction(containerID long, blocks List<Long>) : void in class org.apache.hadoop.hdds.scm.block.DeletedBlockLogImpl | From | To | |
Rename Variable currentLatestID : long to nextTXID : long in method public addTransactions(containerBlocksMap Map<Long,List<Long>>) : void in class org.apache.hadoop.hdds.scm.block.DeletedBlockLogImpl | From | To | |
Rename Variable scmStorage : SCMStorage to scmStorageConfig : SCMStorageConfig in method public testOmInitialization() : void in class org.apache.hadoop.ozone.om.TestOzoneManager | From | To | |
Change Return Type | 1 | ||
Change Return Type SCMStorage to SCMStorageConfig in method public getScmStorageConfig() : SCMStorageConfig in class org.apache.hadoop.hdds.scm.server.StorageContainerManager | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.hadoop.hdds.scm.server.SCMStorage renamed to org.apache.hadoop.hdds.scm.server.SCMStorageConfig | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [pipelineManager : PipelineManager, containerManager : ContainerManager, nodeManager : NodeManager, eventPublisher : EventPublisher] to scm : StorageContainerManager in method public BlockManagerImpl(conf Configuration, scm StorageContainerManager) in class org.apache.hadoop.hdds.scm.block.BlockManagerImpl | From | To | |
Change Variable Type | 11 | ||
Change Variable Type scmStorage : SCMStorage to scmStorageConfig : SCMStorageConfig in method public scmInit(conf OzoneConfiguration) : boolean in class org.apache.hadoop.hdds.scm.server.StorageContainerManager | From | To | |
Change Variable Type scmStore : SCMStorage to scmStore : SCMStorageConfig in method public testSCMReinitialization() : void in class org.apache.hadoop.ozone.TestStorageContainerManager | From | To | |
Change Variable Type scmStore : SCMStorage to scmStore : SCMStorageConfig in method public testScmInfo() : void in class org.apache.hadoop.ozone.TestStorageContainerManager | From | To | |
Change Variable Type scmStore : SCMStorage to scmStore : SCMStorageConfig in method public testSCMInitialization() : void in class org.apache.hadoop.ozone.TestStorageContainerManager | From | To | |
Change Variable Type scmStorage : SCMStorage to scmStorageConfig : SCMStorageConfig in method public testOmInitialization() : void in class org.apache.hadoop.ozone.om.TestOzoneManager | From | To | |
Change Variable Type scmStore : SCMStorage to scmStore : SCMStorageConfig in method public getScm(conf OzoneConfiguration) : StorageContainerManager in class org.apache.hadoop.hdds.scm.HddsTestUtils | From | To | |
Change Variable Type scmStore : SCMStorage to scmStore : SCMStorageConfig in method private initSCM() : void in class org.apache.hadoop.ozone.TestSecureOzoneCluster | From | To | |
Change Variable Type txnID : int to txnID : long in method private verifyTransactionsCommitted() : void in class org.apache.hadoop.ozone.container.common.statemachine.commandhandler.TestBlockDeletion | From | To | |
Change Variable Type scmStore : SCMStorage to scmStore : SCMStorageConfig in method private createSCM() : StorageContainerManager in class org.apache.hadoop.ozone.MiniOzoneClusterImpl.Builder | From | To | |
Change Variable Type key : byte[] to nextTXID : Long in method public addTransaction(containerID long, blocks List<Long>) : void in class org.apache.hadoop.hdds.scm.block.DeletedBlockLogImpl | From | To | |
Change Variable Type scmStore : SCMStorage to scmStore : SCMStorageConfig in method private getScm(conf OzoneConfiguration, configurator SCMConfigurator) : StorageContainerManager in class org.apache.hadoop.hdds.scm.block.TestBlockManager | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type conf : Configuration to conf : OzoneConfiguration in class org.apache.hadoop.hdds.scm.block.TestBlockManager | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getDBPath(conf Configuration, dbDirectory String) : File extracted from public getOmDbDir(conf Configuration) : File in class org.apache.hadoop.ozone.OmUtils & moved to class org.apache.hadoop.hdds.scm.ScmUtils | From | To | |
Rename Parameter | 3 | ||
Rename Parameter conf : Configuration to configuration : Configuration in method private setSecureConfig(configuration Configuration) : void in class org.apache.hadoop.ozone.TestSecureOzoneCluster | From | To | |
Rename Parameter conf : Configuration to configuration : Configuration in method private createCredentialsInKDC(configuration Configuration, kdc MiniKdc) : void in class org.apache.hadoop.ozone.TestSecureOzoneCluster | From | To | |
Rename Parameter miniKdc : MiniKdc to kdc : MiniKdc in method private createCredentialsInKDC(configuration Configuration, kdc MiniKdc) : void in class org.apache.hadoop.ozone.TestSecureOzoneCluster | From | To |