Does any one know how to initialize properties of hadoop job from spring batch jobParameters , Please let me know how to do this.
Following is the scenarion I am trying to pass additional properties to hadoop job as follows.
<hdp:job id="wordcount-job" validate-paths="false" scope="step"
input-path="#{jobParameters['inputFile']}" output-path="#{jobParameters['outputFile']}"
mapper="org.apache.hadoop.examples.WordCount.Token izerMapper"
reducer="org.apache.hadoop.examples.WordCount.IntS umReducer" properties-ref="jobProperties" >
</hdp:job>


Reply With Quote