Results 1 to 5 of 5

Thread: Is it possible to inject properties/beans into mapper/reducer instances ?

  1. #1
    Join Date
    Jan 2007
    Posts
    7

    Default Is it possible to inject properties/beans into mapper/reducer instances ?

    Hi,
    I need to use some beans within a mapper context.
    What I have used so far is serilaise the
    Is spring IOC invoked with each hadoop child process?
    If it is, how can I declare it, The xsd permitts only class FQN

    Thanks,

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    We have (on a branch) support for mapper/reduce instance configuration if you'd like to experiment with that. Currently we don't support that in the main trunk but we do plan to merge it at some point.
    The main downside of instance configuration is that each node needs to recreate the wiring which usually adds some overhead for provisioning (each note for example needs to have the support classes present). We have some ideas on how to mitigate that but we haven't gotten around it yet.

    Cheers,
    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

  3. #3

    Default

    Has this been added to the master branch?

  4. #4
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Quote Originally Posted by Costin Leau View Post
    We have (on a branch) support for mapper/reduce instance configuration if you'd like to experiment with that. Currently we don't support that in the main trunk but we do plan to merge it at some point.
    ...
    See above.
    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

  5. #5

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
  •