Code qualify inputDirs qualified doesn't affect path validation
---------------------------------------------------------------
Key: HADOOP-905
URL: https://issues.apache.org/jira/browse/HADOOP-905
Project: Hadoop
Issue Type: Bug
Components: fs
Affects Versions: 0.10.1
Reporter: Kenji Matsuoka
This code, at JobClient:306, doesn't seem to do anything, since inputDirs is a
newly created arrray:
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.
job.getInputFormat().validateInput(job);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira