streaming command line does not honor -jt option
------------------------------------------------
Key: HADOOP-2875
URL: https://issues.apache.org/jira/browse/HADOOP-2875
Project: Hadoop Core
Issue Type: Bug
Components: contrib/streaming
Affects Versions: 0.17.0
Reporter: Karam Singh
Priority: Minor
ran hadoop streaming command as -:
bin/hadoop jar contrib/streaming/hadoop-*-streaming.jar -input <input path>
-mapper <mapper> -reducer <reducer> -output <output path> -dfs h:p -jt h:p
(Make sure hadoop-site.xml is not in config dir. dfs abnd jt are running )
Streaming will run as local runner
On looking at StreamJob.java following was found -:
String jt = (String)cmdLine.getValue("mapred.job.tracker");
if (null != jt){
userJobConfProps_.put("fs.default.name", jt);
}
Where usage is having create option like -:
Option jt = createOption("jt",
"Optional. Override JobTracker configuration",
"<h:p>|local", 1, false);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.