Quantcast
Channel: Spring Community Forums - Hadoop
Viewing all articles
Browse latest Browse all 28

Job-runner able to submit jobs without app jar?

$
0
0
Hi,

Haven't tried SDFH, but looking at docs, I can see that the way to submit job is via following XML snipet:
Code:

<hdp:job-runner id="myjob-runner" pre-action="cleanup-script" post-action="export-results" job="myjob" run-at-startup="true"/>
<hdp:job id="myjob"  input-path="/input/" output-path="/output/"
        mapper="org.apache.hadoop.examples.WordCount.TokenizerMapper"
        reducer="org.apache.hadoop.examples.WordCount.IntSumReducer" />

Assuming that job-runner is nothing but wrapper around Hadoop's JobClient which require app jar to be set (directly, or via example class), I cannot see the way for it to work successfully (submit the job) if my app is started without the jar, say inside an IDE when app classes are available in unpacked form?

Regards,
Vjeran

Viewing all articles
Browse latest Browse all 28

Latest Images

Trending Articles





Latest Images