|
@@ -311,17 +311,7 @@ public class JobClient extends ToolBase implements MRConstants {
|
|
|
job.setWorkingDirectory(fs.getWorkingDirectory());
|
|
|
}
|
|
|
|
|
|
- FileSystem userFileSys = FileSystem.get(job);
|
|
|
- Path[] inputDirs = job.getInputPaths();
|
|
|
-
|
|
|
- // make sure directories are fully qualified before checking them
|
|
|
- for(int i=0; i < inputDirs.length; ++i) {
|
|
|
- if (inputDirs[i].toUri().getScheme() == null) {
|
|
|
- inputDirs[i] = userFileSys.makeQualified(inputDirs[i]);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // input paths should exist.
|
|
|
+ // Check the input specification
|
|
|
job.getInputFormat().validateInput(job);
|
|
|
|
|
|
// Check the output specification
|