title: Killing Apache spark job from web UI is not killing its python subprocess
body: <p>pyspark code written to call another python job using subprocess.Popen(command)</p>
  
  <p>Tried to kill Sparkcontext manually from spark master web UI <a href="http://localhost:8080" rel="nofollow noreferrer">http://localhost:8080</a> and it killed successfully</p>
  
  <p>by the time python subprocess triggered and running in worker node as a python process.</p>
  
  <p>Using Redhatlinux</p>
  
  <p>How to kill python subprocess if I kill pyspark sparkcontext?</p>