Ask Your Question

How to stop streamsets from manual install

asked 2018-09-06 14:42:04 -0500

mp gravatar image

If I installed streamsets manually, then the start command is bin/streamsets dc. How do you stop streamsets from the command line?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-09-06 15:39:47 -0500

jeff gravatar image

You simply ran bin/streamsets dc in an interactive shell and now want to stop it? If so, you can simply Ctrl+C (SIGINT) it the same way you would terminate any foreground process. If it's in the background, you can use the kill command.

edit flag offensive delete link more


Not quite. I have a make target that starts sdc with that command and I was wondering if there was a graceful shutdown option. I wanted to start it, run some commands, then stop it, all automatically from the command line.

mp gravatar imagemp ( 2018-09-06 18:15:08 -0500 )edit

If you're running a script like bash, you can add "ps -ef | grep 'dc' | grep -v grep | awk '{print $2}' | xargs kill" to it which will look for the Data Collector process and kill it.

iamontheinet gravatar imageiamontheinet ( 2018-09-06 18:22:25 -0500 )edit

I am running it as part of a make test target and was wondering if there is a more elegant way than grepping or saving the PID. Thanks!

mp gravatar imagemp ( 2018-09-10 11:32:33 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-09-06 14:42:04 -0500

Seen: 18 times

Last updated: Sep 06