Andras Piros created OOZIE-2759:
-----------------------------------

             Summary: Configuration entries should express units of measure in 
their names
                 Key: OOZIE-2759
                 URL: https://issues.apache.org/jira/browse/OOZIE-2759
             Project: Oozie
          Issue Type: Improvement
          Components: build, docs
    Affects Versions: 5.0.0
            Reporter: Andras Piros
            Priority: Minor


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*|OOZIE-2758] 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}}|https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html]
 within {{Configuration}} code where applicable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to