title: Hive tez query fails with java.io.IOException
body: <p>Executing a long running Hive Tez query, it rarely fails with:</p>
  <pre><code>java.io.IOException: File hdfs://XXX with newer attempt ID 1 is smaller than the file hdfs://YYY with older attempt ID 0
  </code></pre>
  <p>In our 20 node HDP 3.1.5 cluster (Hive 3.1.0 and Tez 0.9.1), it fails once over around 200 executions</p>