Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10258

control.sh: make optional parameters order irrelevant

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • control.sh
    • None

    Description

      IGNITE_HOME=`pwd` bin/control.sh --cache idle_verify --host 172.25.1.14 --dump
      Control utility [ver. 2.5.1-p160#20181113-sha1:5f845ca7]
      2018 Copyright(C) Apache Software Foundation
      User: mshonichev
      --------------------------------------------------------------------------------
      Check arguments.
      Error: Unexpected argument: --dump
      IGNITE_HOME=`pwd` bin/control.sh --host 172.25.1.14 --cache idle_verify --dump 
      Control utility [ver. 2.5.1-p160#20181113-sha1:5f845ca7] 
      2018 Copyright(C) Apache Software Foundation 
      User: mshonichev 
      --------------------------------------------------------------------------------
      VisorIdleVerifyDumpTask successfully written output to '/storage/ssd/mshonichev/tiden/pme-181114-163416/test_pme_bench/ignite.server.1/work/idle-dump-2018-11-14T16-46-34_246.txt'
      

      It is quite unexpected and unpleasant that re-ordering optional arguments to the --cache idle_verify command makes it throw error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            antonovsergey93 Sergey Antonov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: