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

Hongrong Cao commented on KYLIN-5716:
-------------------------------------

h2. Dev Design


Add two APIs to control the start and stop of Arthas.
  The startup API can be passed two optional parameters, the address of the 
tunnelServer and the appName of the current KEarthas.
  If they are not passed in, they are taken from kylin.properties in the 
configuration file.
  The default values of the two parameters in the configuration file are as 
follows,
  {{arthas.tunnel-server=ws://127.0.0.1:7777/ws}}
  {{arthas.app-name=${kylin.server.mode}_${server.port}}}
 
{quote}// start
GET 
http://127.0.0.1:7070/kylin/api/system/arthas/register?tunnelServer=ws://10.1.2.134:7777/ws&appName=testAppName
// stop
GET http:///127.0.0.1:7070/api/system/arthas/destory{quote}
 

> arthas supports runtime start and stop
> --------------------------------------
>
>                 Key: KYLIN-5716
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5716
>             Project: Kylin
>          Issue Type: Improvement
>    Affects Versions: 5.0-beta
>            Reporter: Hongrong Cao
>            Assignee: Yaguang Jia
>            Priority: Minor
>             Fix For: 5.0.0
>
>
> arthas supports runtime start and stop



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to