fc0885da294490c3984c2231a4d35f89b3b520d4
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private buildPathString(pathPrefix String, numOfPaths int) : String from class org.apache.hadoop.mapreduce.TestJobResourceUploader to private buildDistributedCachePathString(pathPrefix String, numOfPaths int, extension String) : String from class org.apache.hadoop.mapreduce.TestJobResourceUploader.ResourceConf | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type rlConf : ResourceLimitsConf to rlConf : ResourceConf in method private runLimitsTest(rlConf ResourceConf, checkShouldSucceed boolean, violation ResourceViolation) : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Inline Method | 1 | ||
Inline Method private setupJobConf(rlConf ResourceLimitsConf) : JobConf inlined to private runLimitsTest(rlConf ResourceConf, checkShouldSucceed boolean, violation ResourceViolation) : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Change Return Type | 1 | ||
Change Return Type ResourceLimitsConf to ResourceConf in method package build() : ResourceConf in class org.apache.hadoop.mapreduce.TestJobResourceUploader.ResourceConf.Builder | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.hadoop.mapreduce.TestJobResourceUploader.ResourceLimitsConf renamed to org.apache.hadoop.mapreduce.TestJobResourceUploader.ResourceConf | From | To | |
Move Class | 1 | ||
Move Class org.apache.hadoop.mapreduce.TestJobResourceUploader.ResourceLimitsConf.Builder moved to org.apache.hadoop.mapreduce.TestJobResourceUploader.ResourceConf.Builder | From | To | |
Parameterize Variable | 4 | ||
Parameterize Variable archivesDir : Path to dir : Path in method package mkdirs(fs FileSystem, dir Path, permission FsPermission) : boolean in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Parameterize Variable mapredSysPerms : FsPermission to permission : FsPermission in method package mkdirs(fs FileSystem, dir Path, permission FsPermission) : boolean in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Parameterize Variable filesDir : Path to dir : Path in method package mkdirs(fs FileSystem, dir Path, permission FsPermission) : boolean in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Parameterize Variable libjarsDir : Path to dir : Path in method package mkdirs(fs FileSystem, dir Path, permission FsPermission) : boolean in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Change Variable Type | 8 | ||
Change Variable Type b : ResourceLimitsConf.Builder to b : ResourceConf.Builder in method public testAtResourceLimit() : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Change Variable Type b : ResourceLimitsConf.Builder to b : ResourceConf.Builder in method public testOverSingleResourceMBLimit() : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Change Variable Type b : ResourceLimitsConf.Builder to b : ResourceConf.Builder in method public testOverResourceLimit() : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Change Variable Type b : ResourceLimitsConf.Builder to b : ResourceConf.Builder in method public testOverResourcesMBLimit() : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Change Variable Type b : ResourceLimitsConf.Builder to b : ResourceConf.Builder in method public testAllDefaults() : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Change Variable Type b : ResourceLimitsConf.Builder to b : ResourceConf.Builder in method public testAtSingleResourceMBLimit() : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Change Variable Type b : ResourceLimitsConf.Builder to b : ResourceConf.Builder in method public testAtResourcesMBLimit() : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Change Variable Type b : ResourceLimitsConf.Builder to b : ResourceConf.Builder in method public testNoLimitsWithResources() : void in class org.apache.hadoop.mapreduce.TestJobResourceUploader | From | To | |
Extract Method | 4 | ||
Extract Method package mkdirs(fs FileSystem, dir Path, permission FsPermission) : boolean extracted from private uploadFiles(conf Configuration, files Collection<String>, submitJobDir Path, mapredSysPerms FsPermission, submitReplication short) : void in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Extract Method package mkdirs(fs FileSystem, dir Path, permission FsPermission) : boolean extracted from private uploadLibJars(conf Configuration, libjars Collection<String>, submitJobDir Path, mapredSysPerms FsPermission, submitReplication short) : void in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Extract Method package mkdirs(fs FileSystem, dir Path, permission FsPermission) : boolean extracted from private uploadArchives(conf Configuration, archives Collection<String>, submitJobDir Path, mapredSysPerms FsPermission, submitReplication short) : void in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Extract Method package mkdirs(fs FileSystem, dir Path, permission FsPermission) : boolean extracted from public uploadResources(job Job, submitJobDir Path) : void in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To | |
Rename Parameter | 1 | ||
Rename Parameter submitJobDir : Path to dir : Path in method package mkdirs(fs FileSystem, dir Path, permission FsPermission) : boolean in class org.apache.hadoop.mapreduce.JobResourceUploader | From | To |