-
Aug 23rd, 2012, 02:57 AM
#1
Error in spring hadoop args in understanding jobParameters expression
Hi, when I am doing following.
<hdp:tool-tasklet id="wc-tasklet" scope="step" tool-class="com.abcd.WordCountToolRunner" >
<hdp:arg value="#{jobParameters['inputFile']}"/>
<hdp:arg value="#{jobParameters['outputFile']}"/>
</hdp:tool-tasklet>
When I try to set arguments of tool by retrieving this from jobParameters using spring expression, I don't get arguments parsed well and I always see null. Any ideas on how to configure jobParameters to tool tasklet.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules