Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2759

Configuration entries should express units of measure in their names

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Component/s: build, docs
    • Labels:
      None

      Description

      For configuration entries it would be nice to have their names to express their units of measure as well. Right now it's impossible without reading the documentation, sometimes even with reading the documentation to tell what is the unit of measure of a configuration value.

      Suggestion here is to employ a postfix like that:

      • oozie.action.retry.interval -> oozie.action.retry.interval.seconds
      • oozie.service.LiteWorkflowStoreService.user.retry.inteval -> oozie.service.LiteWorkflowStoreService.user.retry.inteval.minutes

      It would also be nice to employ TimeUnit within Configuration code where applicable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andras.piros Andras Piros
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: