How to exit spark-submit after the submission : <p>When submitting spark streaming program using spark-submit(YARN mode)
it keep polling the status and never exit</p>

<p>Is there any option in spark-submit to exit after the submission?</p>

<p>===why this trouble me===</p>

<p>The streaming program will run forever and i don't need the status update</p>

<p>I can ctrl+c to stop it if i start it manually
but i have lots of streaming context to start and i need to start them using script</p>

<p>I can put the spark-submit program in background,
but after lots of background java process created, the user corresponding to, will not able to run any other java process because JVM cannot create GC thread</p>
