Uploaded image for project: 'Chukwa (retired)'
  1. Chukwa (retired)
  2. CHUKWA-527

stronger configuration checking

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Chukwa has many configuration options, and it's easy to mis-set them. I'd like to contribute a module for doing stronger static checks of configuration at startup.

      In particular, this will flag and log cases where:
      An option is set in the Chukwa config files that is never read by Chukwa.
      A non-numeric value is used for a numeric parameter, non-boolean value for boolean parameter, etc.

      The table of options and types is automatically generated and then human-checked. It should be easy to keep it up to date.
      The changes to the Chukwa codebase should be quite modest: one new Jar, and a handful of lines to invoke that Jar on startup.

      Does this sound like a thing people would like to see?

      Attachments

        1. CHUKWA-527.patch
          7 kB
          Ariel Shemaiah Rabkin
        2. confspellcheck.jar
          24 kB
          Ariel Shemaiah Rabkin
        3. options.dict
          2 kB
          Ariel Shemaiah Rabkin

        Activity

          People

            asrabkin Ariel Shemaiah Rabkin
            asrabkin Ariel Shemaiah Rabkin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment