You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/12/10 12:03:00 UTC

[jira] [Commented] (KYLIN-4290) Add file lock to kylin startup script to avoid starting multiple instances on one node

    [ https://issues.apache.org/jira/browse/KYLIN-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16992482#comment-16992482 ] 

ASF GitHub Bot commented on KYLIN-4290:
---------------------------------------

zenoyang commented on pull request #985: KYLIN-4290: Add file lock to kylin startup script to avoid starting multiple instances on one node
URL: https://github.com/apache/kylin/pull/985
 
 
   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Minor
>             Fix For: v3.0.0, v2.6.5
>
>
> 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)