title: Flume : java.io.IOException: Not a data file
body: <p>This night we have a disk space full issue and today I receive this error in my Flume log:</p>
  
  <pre><code>22 Feb 2017 10:24:56,180 ERROR [pool-6-thread-1] (org.apache.flume.client.avro.ReliableSpoolingFileEventReader.openFile:504)  - Exception opening file: /.../flume_spool/data.../data_2017-02-21_17-15-00_8189
  java.io.IOException: Not a data file.
          at org.apache.avro.file.DataFileStream.initialize(DataFileStream.java:102)
          at org.apache.avro.file.DataFileReader.&lt;init&gt;(DataFileReader.java:97)
          at org.apache.avro.file.DataFileWriter.appendTo(DataFileWriter.java:160)
          at org.apache.avro.file.DataFileWriter.appendTo(DataFileWriter.java:149)
          at org.apache.flume.serialization.DurablePositionTracker.&lt;init&gt;(DurablePositionTracker.java:141)
          at org.apache.flume.serialization.DurablePositionTracker.getInstance(DurablePositionTracker.java:76)
          at org.apache.flume.client.avro.ReliableSpoolingFileEventReader.openFile(ReliableSpoolingFileEventReader.java:478)
          at org.apache.flume.client.avro.ReliableSpoolingFileEventReader.getNextFile(ReliableSpoolingFileEventReader.java:459)
          at org.apache.flume.client.avro.ReliableSpoolingFileEventReader.readEvents(ReliableSpoolingFileEventReader.java:229)
          at org.apache.flume.source.SpoolDirectorySource$SpoolDirectoryRunnable.run(SpoolDirectorySource.java:227)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:745)
  </code></pre>
  
  <p>Flume version : 1.5.2</p>