Stopping Storm: the right way

后端 未结 4 820
眼角桃花
眼角桃花 2021-02-04 04:35

Is there a clean way to stop storm without killing it with \"kill XXX\" where XXX is the PID?

I run \"storm kill topology-name\" to kill the topology, but after that, is

4条回答
  •  情歌与酒
    2021-02-04 05:00

    Well if you have started storm as ./storm nimbus & ./storm supervisor & ./storm ui then

    after that you may forgot the process id's in that case you can use jps tool to find out pid's then kill them as

    $JAVA_HOME/bin/jps

    3201 ConsoleConsumer

    7528 Jps

    2966 Kafka

    3680 nimbus

    3681 supervisor

    6749 Launcher

    2669 QuorumPeerMain

    killing nimbus first

    $ sudo kill 3681

    $ sudo kill 3680

提交回复
热议问题