Configuration from jobParameter object
I've looked through the forum and very likely missed the answer to this.
From the Batch WordCount example here: http://static.springsource.org/sprin...wordcount.html
I see you can construct a configuration using this syntax:
Code:
<!-- default id is 'hadoopConfiguration' -->
<hdp:configuration register-url-handler="false">
fs.default.name=${hd.fs}
</hdp:configuration>
However, I would like to be able to pass in several variable from a JobParameters() object http://static.springsource.org/sprin...arameters.html
So I would like to be able to do something like this:
Code:
<!-- default id is 'hadoopConfiguration' -->
<hdp:configuration register-url-handler="false">
fs.default.name="#{jobParameters['fs.default.name']}"
</hdp:configuration>
where (obviously) the jobParameters object is being set within the application. Now, I'm not much of a coder, so if someone has some ideas please s p e a k s l o w l y and/or post examples. I very much appreciate the help.
b