Whirr
  1. Whirr
  2. WHIRR-370

Templating for configuration files

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: core
    • Labels:
      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.

      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

          Tom White created issue -
          Tom White made changes -
          Field Original Value New Value
          Link This issue relates to WHIRR-368 [ WHIRR-368 ]
          Andrei Savu made changes -
          Fix Version/s 0.8.0 [ 12318880 ]
          Component/s core [ 12313574 ]
          Andrei Savu made changes -
          Fix Version/s 0.9.0 [ 12319840 ]
          Fix Version/s 0.8.0 [ 12318880 ]
          Karel Vervaeke made changes -
          Attachment WHIRR-370.patch [ 12519929 ]
          Andrei Savu made changes -
          Attachment WHIRR-370.patch [ 12519972 ]
          Karel Vervaeke made changes -
          Attachment WHIRR-370.patch [ 12520075 ]
          Karel Vervaeke made changes -
          Attachment WHIRR-370.patch [ 12520077 ]
          Andrei Savu made changes -
          Attachment WHIRR-370.patch [ 12520268 ]
          Karel Vervaeke made changes -
          Attachment WHIRR-370.patch [ 12520390 ]
          Karel Vervaeke made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.8.0 [ 12318880 ]
          Fix Version/s 0.9.0 [ 12319840 ]
          Resolution Fixed [ 1 ]
          Tom White made changes -
          Fix Version/s 0.8.0 [ 12321649 ]
          Fix Version/s 0.8.0-alpha.1 [ 12318880 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Tom White
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development