Whirr
  1. Whirr
  2. WHIRR-472

FactoryBean for Whirr generated Hadoop Configuration

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None

      Description

      Here is a Spring FactoryBean implementation which builds a Hadoop Configuration object based on the generated configuration by Whirr in the .whirr file.

      1. WHIRR-472.patch
        13 kB
        Frank Scholten

        Activity

        Show
        Frank Scholten added a comment - See also: https://github.com/frankscholten/whirr/tree/WHIRR-472
        Hide
        Andrei Savu added a comment -

        Looks good. Can you share a bit more about how you are using Whirr with Spring?

        Show
        Andrei Savu added a comment - Looks good. Can you share a bit more about how you are using Whirr with Spring?
        Hide
        Frank Scholten added a comment -

        I created a Spring webapp to submit Mahout jobs from. The FactoryBean makes it easy to inject the Hadoop Configuration read from the Whirr property file into a controller.

        Show
        Frank Scholten added a comment - I created a Spring webapp to submit Mahout jobs from. The FactoryBean makes it easy to inject the Hadoop Configuration read from the Whirr property file into a controller.
        Hide
        Frank Scholten added a comment -

        Come to think of it the HadoopServiceController is probably more flexible to use!

        Show
        Frank Scholten added a comment - Come to think of it the HadoopServiceController is probably more flexible to use!
        Hide
        Frank Scholten added a comment -

        Hmm, it is in a test package? I think it would be very useful for integration purposes.

        Show
        Frank Scholten added a comment - Hmm, it is in a test package? I think it would be very useful for integration purposes.

          People

          • Assignee:
            Unassigned
            Reporter:
            Frank Scholten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development