[ https://issues.apache.org/jira/browse/IGNITE-10258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Antonov updated IGNITE-10258: ------------------------------------ Description: {noformat} 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{noformat} {noformat} 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' {noformat} It is quite unexpected and unpleasant that re-ordering optional arguments to the --cache idle_verify command makes it throw error. was: {noformat} 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{noformat} {noformat} 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' {noformat} It is quite unexpected and unpleasant that re-ordering optional arguments to the --cache idle_verify command makes it throw error. > control.sh: make optional parameters order irrelevant > ----------------------------------------------------- > > Key: IGNITE-10258 > URL: https://issues.apache.org/jira/browse/IGNITE-10258 > Project: Ignite > Issue Type: Improvement > Reporter: Sergey Antonov > Assignee: Sergey Antonov > Priority: Major > Fix For: 2.8 > > > {noformat} > 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{noformat} > {noformat} > 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' > {noformat} > It is quite unexpected and unpleasant that re-ordering optional arguments to > the --cache idle_verify command makes it throw error. -- This message was sent by Atlassian JIRA (v7.6.3#76005)