I currently have map/reduce jobs that are configured using TableMapReduceUtil.initTableMapperJob() and TableMapReduceUtil.initTableReduceJob(). What's the best way to use Spring Hadoop to configure a job object using these static methods?
I currently have map/reduce jobs that are configured using TableMapReduceUtil.initTableMapperJob() and TableMapReduceUtil.initTableReduceJob(). What's the best way to use Spring Hadoop to configure a job object using these static methods?
You can use Spring's Java Configuration approach [1], use the factory-method attribute or declare a FactoryBean. All are valid options - feel free to pick the one that suits you best.
[1] http://static.springsource.org/sprin...-configuration
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags
Hi bajafresh4life, Were you able to take it further using the suggestions from Costing. Will you be able to share your approach in detail. Thanks.