2151716832ad14932dd65b1a4e47e64d8d6cd767
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type namesystem : NamenodeProtocols to cluster : MiniDFSCluster in method private startTransactionWorkers(cluster MiniDFSCluster, caughtErr AtomicReference<Throwable>) : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLogRace | From | To | |
| Rename Variable | 1 | ||
| Rename Variable waitToEnterSync : CountDownLatch to sleepingBeforeSync : CountDownLatch in method public testSaveRightBeforeSync() : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLogRace | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type cache : ThreadLocal<OpInstanceCache> to cache : OpInstanceCache in class org.apache.hadoop.hdfs.server.namenode.FSEditLog | From | To | |
| Extract Method | 23 | ||
| Extract Method public getConf() : Configuration extracted from private testCrashRecovery(numTransactions int) : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLog | From | To | |
| Extract Method private getConf() : Configuration extracted from public testMultiplePrimariesStarted() : void in class org.apache.hadoop.contrib.bkjournal.TestBookKeeperAsHASharedDir | From | To | |
| Extract Method public getConf() : Configuration extracted from public testSimpleEditLog() : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLog | From | To | |
| Extract Method public getConf() : Configuration extracted from private getFSEditLog(storage NNStorage) : FSEditLog in class org.apache.hadoop.hdfs.server.namenode.TestEditLog | From | To | |
| Extract Method public getConf() : Configuration extracted from private doTestCrashRecoveryEmptyLog(inBothDirs boolean, updateTransactionIdFile boolean, shouldSucceed boolean) : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLog | From | To | |
| Extract Method private getConf() : Configuration extracted from package testNameNodeRecoveryImpl(corruptor Corruptor, finalize boolean) : void in class org.apache.hadoop.hdfs.server.namenode.TestNameNodeRecovery | From | To | |
| Extract Method public getConf() : Configuration extracted from public testSyncBatching() : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLog | From | To | |
| Extract Method public getConf() : Configuration extracted from public testEditChecksum() : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLog | From | To | |
| Extract Method private getConf() : Configuration extracted from public testSingleRequiredFailedEditsDirOnSetReadyToFlush() : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLogJournalFailures | From | To | |
| Extract Method private getConf() : Configuration extracted from public testReplicationAdjusted() : void in class org.apache.hadoop.hdfs.server.namenode.TestFSEditLogLoader | From | To | |
| Extract Method package doEditTransaction(op FSEditLogOp) : boolean extracted from package logEdit(op FSEditLogOp) : void in class org.apache.hadoop.hdfs.server.namenode.FSEditLog | From | To | |
| Extract Method private getConf() : Configuration extracted from public testMultipleRedundantFailedEditsDirOnSetReadyToFlush() : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLogJournalFailures | From | To | |
| Extract Method public getConf() : Configuration extracted from public testManyEditLogSegments() : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLog | From | To | |
| Extract Method private getConf() : Configuration extracted from public testInitializeBKSharedEdits() : void in class org.apache.hadoop.contrib.bkjournal.TestBookKeeperAsHASharedDir | From | To | |
| Extract Method private getConf() : Configuration extracted from public testFailoverWithBK() : void in class org.apache.hadoop.contrib.bkjournal.TestBookKeeperAsHASharedDir | From | To | |
| Extract Method private getConf() : Configuration extracted from public testDisplayRecentEditLogOpCodes() : void in class org.apache.hadoop.hdfs.server.namenode.TestFSEditLogLoader | From | To | |
| Extract Method private getConf() : Configuration extracted from public testNameNodeMultipleSwitchesUsingBKJM() : void in class org.apache.hadoop.contrib.bkjournal.TestBookKeeperAsHASharedDir | From | To | |
| Extract Method private getConf() : Configuration extracted from public testTailer() : void in class org.apache.hadoop.hdfs.server.namenode.ha.TestEditLogTailer | From | To | |
| Extract Method public getConf() : Configuration extracted from public testPreTxidEditLogWithEdits() : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLog | From | To | |
| Extract Method private getConf() : Configuration extracted from public testFailoverWithFailingBKCluster() : void in class org.apache.hadoop.contrib.bkjournal.TestBookKeeperAsHASharedDir | From | To | |
| Extract Method public getConf() : Configuration extracted from private testEditLog(initialSize int) : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLog | From | To | |
| Extract Method protected logSync(mytxid long) : void extracted from public logSync() : void in class org.apache.hadoop.hdfs.server.namenode.FSEditLog | From | To | |
| Extract Method public getConf() : Configuration extracted from public testBatchedSyncWithClosedLogs() : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLog | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter namesystem : NamenodeProtocols to cluster : MiniDFSCluster in method private startTransactionWorkers(cluster MiniDFSCluster, caughtErr AtomicReference<Throwable>) : void in class org.apache.hadoop.hdfs.server.namenode.TestEditLogRace | From | To |