title: Premature EOF In apache spark at cache statement
body: <p>I have a spark scala code which works on json data.
  After running for an hour , It shows premature EOF error. I have searched and found some solutions but none of them is working.</p>
  
  <p>Stacktrace shows something related to datastreamer.</p>
  
  <p>Error is something like 
  <a href="https://i.stack.imgur.com/Ov44r.png" rel="nofollow noreferrer">this</a>.
  Thanks in advance.</p>