You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Kevin Sweeney (JIRA)" <ji...@apache.org> on 2015/04/08 23:55:12 UTC

[jira] [Updated] (AURORA-1264) command-line flags framework leads to confusing valid configurations

     [ 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)