aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sweeney (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AURORA-1264) command-line flags framework leads to confusing valid configurations
Date Wed, 08 Apr 2015 21:53:12 GMT
Kevin Sweeney created AURORA-1264:
-------------------------------------

             Summary: command-line flags framework leads to confusing valid configurations
                 Key: AURORA-1264
                 URL: https://issues.apache.org/jira/browse/AURORA-1264
             Project: Aurora
          Issue Type: Story
          Components: Scheduler, Usability
            Reporter: Kevin Sweeney
            Priority: Minor


Right now it's possible to specify flags that have no meaning unless another flag is turned
up. For example:

{noformat}
-enable_api_security=true
-shiro_ini_path=/etc/aurora/shiro.ini
{noformat}

does nothing and has no warning. The correct form is *obviously*:
{noformat}
-enable_api_security=true
-shiro_ini_path=/etc/aurora/shiro.ini
-shiro_realm_modules=org.apache.aurora.scheduler.http.api.security.IniShiroRealmModule
{noformat}

Investigate changes to our command-line framework that would get us a better error message
here.



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

Mime
View raw message