title: java.io.EOFException: Premature EOF: no length prefix available
body: <p>I am inserting a table's data into another table with dynamic partitions in hive. </p>
  
  <pre><code>insert into table x partition(c) select a,b,c from y distribute by c;
  </code></pre>
  
  <p>I get this error while inserting data from one of the input tables. </p>
  
  <pre><code>org.apache.hadoop.hive.ql.metadata.HiveException: java.io.EOFException: Premature EOF: no length prefix available
  </code></pre>
  
  <p>Is this problem with data? or problem while saving the data blocks in datanode? How do I fix this?</p>
  
  <p>Thanks</p>