You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Billy Liu (JIRA)" <ji...@apache.org> on 2017/08/13 12:52:00 UTC
[jira] [Updated] (KYLIN-2573) Enhance 'kylin.sh stop' to terminate
kylin process finally
[ https://issues.apache.org/jira/browse/KYLIN-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Billy Liu updated KYLIN-2573:
-----------------------------
Summary: Enhance 'kylin.sh stop' to terminate kylin process finally (was: 'kylin.sh stop' can't kill kylin's process by sometimes.)
> Enhance 'kylin.sh stop' to terminate kylin process finally
> ----------------------------------------------------------
>
> Key: KYLIN-2573
> URL: https://issues.apache.org/jira/browse/KYLIN-2573
> Project: Kylin
> Issue Type: Bug
> Components: General
> Affects Versions: v1.6.0
> Environment: centos 6.7 X64
> jdk 1.7.o_55
> Hadoop 2.7.0
> hive 2.1.0
> kylin 1.6.0
> hbase 1.2.0
> Reporter: liuzhijiang
> Assignee: liuzhijiang
> Labels: patch
> Fix For: v2.1.0
>
> Attachments: 0001-KYLIN-2573-kylin.sh-stop-can-t-kill-kylin-s-process-.patch
>
>
> Somtime, Using 'kylin.sh stop' can't kill kylin process,it's better to use 'kill -9' to kill process.
> It will cause 'port is used' error when start kylin, and error messages like this"
> 信息: Initializing ProtocolHandler ["http-bio-7070"]
> 四月 27, 2017 2:56:16 下午 org.apache.coyote.AbstractProtocol init
> 严重: Failed to initialize end point associated with ProtocolHandler ["http-bio-7070"]
> java.net.BindException: 地址已在使用 <null>:7070
> at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:413)
> at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:650)
> at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)
> at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtoc
> ol.java:119)
> "
> Which error is kylin.sh script,
> if [ -f "${KYLIN_PID}" ]
> then
> PID=`cat $KYLIN_PID`
> if ps -p $PID > /dev/null
> then
> echo "stopping Kylin:$PID"
> kill $PID -- sometime, this action couldn't kill process
> rm ${KYLIN_PID}
> exit 0
> It is should use 'kill -9 $PID' to instead 'kill $PID'.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)