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

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment