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] [Updated] (AURORA-1264) command-line flags framework leads to confusing valid configurations
Date Wed, 08 Apr 2015 21:55:12 GMT

     [ https://issues.apache.org/jira/browse/AURORA-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kevin Sweeney updated AURORA-1264:
----------------------------------
    Description: 
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
-shiro_realm_modules=org.apache.aurora.scheduler.http.api.security.Kerberos5RealmModule
{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.Kerberos5RealmModule,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.

  was:
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.


> 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
> -shiro_realm_modules=org.apache.aurora.scheduler.http.api.security.Kerberos5RealmModule
> {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.Kerberos5RealmModule,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