[
https://issues.apache.org/jira/browse/KYLIN-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17032154#comment-17032154
]
ASF subversion and git services commented on KYLIN-4290:
--------------------------------------------------------
Commit 6d7cf0220a6dd24ea5661a973c475f6e552fbba9 in kylin's branch
refs/heads/2.6.x from yangzheng10
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=6d7cf02 ]
KYLIN-4290 Add file lock to kylin startup script to avoid starting multiple
instances on one node
> Add file lock to kylin startup script to avoid starting multiple instances on
> one node
> --------------------------------------------------------------------------------------
>
> Key: KYLIN-4290
> URL: https://issues.apache.org/jira/browse/KYLIN-4290
> Project: Kylin
> Issue Type: Improvement
> Components: Tools, Build and Test
> Affects Versions: v2.6.0
> Reporter: Zheng Yang
> Assignee: Zheng Yang
> Priority: Minor
> Fix For: v2.6.5, v3.1.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)