Re: Managing spark processes via supervisord

2015-06-05 Thread ayan guha
I use a simple python to launch cluster. I just did itfor fun, so of course not the best and lot ofmodifications can be done.But I think you arelooking for something similar? import subprocess as s from time import sleep cmd =

Re: Managing spark processes via supervisord

2015-06-05 Thread Mike Trienis
Thanks Ignor, I managed to find a fairly simple solution. It seems that the shell scripts (e.g. .start-master.sh, start-slave.sh) end up executing /bin/spark-class which is always run in the foreground. Here is a solution I provided on stackoverflow: -

Managing spark processes via supervisord

2015-06-03 Thread Mike Trienis
Hi All, I am curious to know if anyone has successfully deployed a spark cluster using supervisord? - http://supervisord.org/ Currently I am using the cluster launch scripts which are working greater, however, every time I reboot my VM or development environment I need to re-launch the

Re: Managing spark processes via supervisord

2015-06-03 Thread Igor Berman
assuming you are talking about standalone cluster imho, with workers you won't get any problems and it's straightforward since they are usually foreground processes with master it's a bit more complicated, ./sbin/start-master.sh goes background which is not good for supervisor, but anyway I think