e46d5bb962b0c942f993afc505b165b1cd96e51b
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private parseDistributedCacheArtifacts(conf Configuration, localResources Map<String,LocalResource>, type LocalResourceType, uris URI[], timestamps long[], sizes long[], visibilities boolean[]) : void from class org.apache.hadoop.mapreduce.v2.util.MRApps to package createLocalResources(localResources Map<String,LocalResource>) : void from class org.apache.hadoop.mapreduce.v2.util.LocalResourceBuilder | From | To | |
Move Method | 1 | ||
Move Method private getResourceDescription(type LocalResourceType) : String from class org.apache.hadoop.mapreduce.v2.util.MRApps to private getResourceDescription(type LocalResourceType) : String from class org.apache.hadoop.mapreduce.v2.util.LocalResourceBuilder | From | To | |
Rename Variable | 3 | ||
Rename Variable pathURI : URI to newURI : URI in method package uploadArchives(job Job, archives Collection<String>, submitJobDir Path, mapredSysPerms FsPermission, submitReplication short, archiveSCUploadPolicies Map<String,Boolean>, statCache Map<URI,FileStatus>) : void in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Rename Variable pathURI : URI to newURI : URI in method package uploadFiles(job Job, files Collection<String>, submitJobDir Path, mapredSysPerms FsPermission, submitReplication short, fileSCUploadPolicies Map<String,Boolean>, statCache Map<URI,FileStatus>) : void in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Rename Variable pathURI : URI to newURI : URI in method package uploadLibJars(job Job, libjars Collection<String>, submitJobDir Path, mapredSysPerms FsPermission, submitReplication short, fileSCUploadPolicies Map<String,Boolean>, statCache Map<URI,FileStatus>) : void in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Change Return Type | 1 | ||
Change Return Type void to Job in method private setupJobConf(conf JobConf) : Job in class org.apache.hadoop.mapreduce.TestJobResourceUploader.ResourceConf | From | To | |
Merge Variable | 1 | ||
Merge Variable [jConf : JobConf, jobPre : Job] to job : Job in method private runTmpResourcePathTest(uploader JobResourceUploader, rConf ResourceConf, jConf JobConf, expectedFiles String[], expectedArchives String[], expectedJobJar String) : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Rename Attribute | 1 | ||
Rename Attribute expectedJobJar : String to basicExpectedJobJar : String in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Extract Method | 1 | ||
Extract Method private uploadResourcesInternal(job Job, submitJobDir Path) : void extracted from public uploadResources(job Job, submitJobDir Path) : void in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Rename Parameter | 1 | ||
Rename Parameter preJob : Job to job : Job in method private validateResourcePaths(job Job, expectedFiles String[], expectedArchives String[], expectedJobJar String) : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To |