title: Spark: How to kill running process without exiting shell?
body: <p>How can I kill a running process in the Spark shell on my local OSX machine without exiting?</p>
  
  <p>For example, if I just do a simple <code>.count()</code> on an RDD, it can take a while and sometimes I want to kill it. </p>
  
  <p>However, if I do <code>Ctrl C</code> then it kills the whole shell. </p>
  
  <p>Is there a way to kill the process but not the shell?</p>