title: OutofMemory error for spark streaming job
body: <p>I have a spark streaming job running in Hortonworks cluster .
  I am running it in cluster mode through yarn , the job is shown as running in UI , but it is having the below exception in driver logs</p>
  
  <pre><code>Exception in thread "JobGenerator" java.lang.OutOfMemoryError: Java heap space
  </code></pre>