Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-632

"kylin.sh stop" doesn't check whether KYLIN_HOME was set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • v0.7.1
    • v1.1, v1.4.0
    • Environment
    • None
    • Sprint 46, Sprint 47, Sprint 48

    Description

      "kylin.sh stop" will not work if KYLIN_HOME wasn't set, and its message is misleading: "kylin is not running, please check", while actually the kylin is running:

      -sh-4.1$ cd /export/home/b_kylin/kylin_ii/
      -sh-4.1$ pwd
      /export/home/b_kylin/kylin_ii
      -sh-4.1$ echo $KYLIN_HOME

      -sh-4.1$ ./bin/kylin.sh stop
      kylin is not running, please check
      -sh-4.1$ export KYLIN_HOME=/export/home/b_kylin/kylin_ii
      -sh-4.1$ ./bin/kylin.sh stop
      stopping kylin:20944

      Attachments

        Activity

          People

            mahongbin Hongbin Ma
            shaofengshi Shao Feng Shi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: