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

Add file lock to kylin startup script to avoid starting multiple instances on one node

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • v2.6.0
    • v2.6.5, v3.1.0
    • Tools, Build and Test
    • None

    Description

      When we restart the Kylin instance, due to the slow start of kylin, some monitoring scripts fail to detect the surviving kylin, and will also start the kylin instance. As a result, there are multiple kylin instances on a node.
      By adding a file lock to the startup script (kylin.sh), it is guaranteed that only one kylin instance will be started when concurrent startup on a node.

      Attachments

        Issue Links

          Activity

            People

              Zheng Yang Zheng Yang
              Zheng Yang Zheng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: