Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1264

command-line flags framework leads to confusing valid configurations

    XMLWordPrintableJSON

Details

    • Story
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Scheduler, Usability
    • None

    Description

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

      -enable_api_security=true
      -shiro_ini_path=/etc/aurora/shiro.ini
      -shiro_realm_modules=org.apache.aurora.scheduler.http.api.security.Kerberos5RealmModule
      

      does nothing and has no warning. The correct form is obviously:

      -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
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevints Kevin Sweeney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: