9f1c017f444d5e57899493dc23207c6b5fc26dae
Files Diff
- Added: 9
- Removed: 5
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 2 | ||
Push Down Method public teardownClusters() : void from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to public teardownClusters() : void from class org.apache.hadoop.fs.s3a.commit.magic.ITestMagicCommitMRJob | From | To | |
Push Down Method public setupClusters() : void from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to public setupClusters() : void from class org.apache.hadoop.fs.s3a.commit.magic.ITestMagicCommitMRJob | From | To | |
Pull Up Method | 8 | ||
Pull Up Method public setup() : void from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to public setup() : void from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Pull Up Method public getTestFileCount() : int from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to public getTestFileCount() : int from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Pull Up Method protected applyCustomConfigOptions(jobConf JobConf) : void from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to protected applyCustomConfigOptions(jobConf JobConf) : void from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Pull Up Method protected getTestTimeoutMillis() : int from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to protected getTestTimeoutMillis() : int from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Pull Up Method protected abstract committerName() : String from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to protected abstract committerName() : String from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Pull Up Method public getLocalFS() : FileSystem from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to public getLocalFS() : FileSystem from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Pull Up Method protected customPostExecutionValidation(destPath Path, successData SuccessData) : void from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to protected customPostExecutionValidation(destPath Path, successData SuccessData) : void from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Pull Up Method protected getDFS() : FileSystem from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to protected getDFS() : FileSystem from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Extract Subclass | 1 | ||
Extract Subclass org.apache.hadoop.fs.s3a.commit.magic.ITestMagicCommitMRJob from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob | From | To | |
Rename Variable | 2 | ||
Rename Variable commitDetails : String to commitData : String in method public testMRJob() : void in class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob | From | To | |
Rename Variable d : DurationInfo to ignore : DurationInfo in method public testMRJob() : void in class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob | From | To | |
Pull Up Attribute | 4 | ||
Pull Up Attribute private uniqueFilenames : boolean from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to private uniqueFilenames : boolean from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Pull Up Attribute private scaleTest : boolean from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to private scaleTest : boolean from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Pull Up Attribute private SCALE_TEST_FILE_COUNT : int from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to private SCALE_TEST_FILE_COUNT : int from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Pull Up Attribute private TEST_FILE_COUNT : int from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to private TEST_FILE_COUNT : int from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest | From | To | |
Move Attribute | 2 | ||
Move Attribute private hdfs : MiniDFSClusterService from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to private hdfs : MiniDFSClusterService from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest.ClusterBinding | From | To | |
Move Attribute private yarn : MiniMRYarnCluster from class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob to private yarn : MiniMRYarnCluster from class org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest.ClusterBinding | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.hadoop.fs.s3a.commit.staging.integration.ITStagingCommitMRJob renamed to org.apache.hadoop.fs.s3a.commit.staging.integration.ITestStagingCommitMRJob | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.hadoop.fs.s3a.commit.AbstractYarnClusterITest from classes [org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob] | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public validateSuccessFile(fs S3AFileSystem, outputPath Path, committerName String) : SuccessData extracted from public testMRJob() : void in class org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob & moved to class org.apache.hadoop.fs.s3a.commit.AbstractCommitITest | From | To |