I am trying to configure and run a Hadoop Streaming job from Java (the system I'm working with wants the Hadoop jobs to be callable by Java method).
I did find the createJob
method in org.apache.hadoop.streaming.StreamJob
(http://hadoop.apache.org/common/docs/r0.20.2/api/org/apache/hadoop/streaming/StreamJob.html#createJob(java.lang.String[])), but this method returns a JobConf
object, which has been deprecated. Is there any way to create a Job
object for streaming, or to convert the JobConf
to a Job
?