Skip to content

Fix the kill command for spark worker#28

Open
amalakar wants to merge 1 commit intoclearstorydata-cookbooks:masterfrom
amalakar:monit_worker_kill_fix
Open

Fix the kill command for spark worker#28
amalakar wants to merge 1 commit intoclearstorydata-cookbooks:masterfrom
amalakar:monit_worker_kill_fix

Conversation

@amalakar
Copy link
Copy Markdown
Contributor

@amalakar amalakar commented Aug 26, 2016

The worker process cannot be killed as it is not found by pkill, as
pkill is looking for the process owned by root user. Whereas the actual process is running as spark.
So kill the parent process instead which runs as root, but it uses the spark-class script. So the regex needs to be adjusted:
#15

pkill is looking for root user. So kill the parent process instead
clearstorydata-cookbooks#15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant