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

Shell script unification

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None
    • Ignite Flags:
      Docs Required

      Description

      Ignite distriburion package includes following scripts:

      bin/control.sh
      bin/ignite.sh
      bin/ignite-rf.sh
      bin/igniterouter.sh
      bin/ignitevisorcmd.sh
      bin/sqlline.sh
      

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                skozlov Sergey Kozlov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: