Sergey Kozlov created IGNITE-10678:
--------------------------------------

             Summary: Shell script unification
                 Key: IGNITE-10678
                 URL: https://issues.apache.org/jira/browse/IGNITE-10678
             Project: Ignite
          Issue Type: Improvement
    Affects Versions: 2.7
            Reporter: Sergey Kozlov
             Fix For: 3.0


Ignite distriburion package includes following scripts:
{noformat}
bin/control.sh
bin/ignite.sh
bin/ignite-rf.sh
bin/igniterouter.sh
bin/ignitevisorcmd.sh
bin/sqlline.sh
{noformat}
and same set with {{.bat}} extension

The scripts has own logic for java version detecting, set ignite home, class 
path and so on. Also similar commands for different scripts designed 
differently (like argument naming). 

I suppose the scripts should be redesigned by following rules:
 - the script code should contain one line - just call a proper java class and 
pass all command-line arguments
 - use common argument parser for all scripts

Optional:
 - make interactive controls.sh 
 - deprecate ignitevisorcmd and move the commands into control.sh (also it will 
allow to remove demo node mode)





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to