Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-370

Templating for configuration files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • core
    • None

    Description

      Service configuration is currently done via the Whirr properties file by using a special per-service prefix (e.g. 'hadoop-common'). Using a templating approach (using e.g. Velocity) would make changing properties more familiar to users, and would make it easier for service implementors (since they wouldn't need to implement a generator class for each configuration file).

      It might even be possible to support the old syntax (so users can still configure everything from one file if they wished) by, e.g., appending all properties starting 'hadoop-common' to the core-site.xml template, etc.

      Attachments

        1. WHIRR-370.patch
          36 kB
          Karel Vervaeke
        2. WHIRR-370.patch
          37 kB
          Andrei Savu
        3. WHIRR-370.patch
          47 kB
          Karel Vervaeke
        4. WHIRR-370.patch
          47 kB
          Karel Vervaeke
        5. WHIRR-370.patch
          48 kB
          Andrei Savu
        6. WHIRR-370.patch
          48 kB
          Karel Vervaeke

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tomwhite Thomas White
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: