henda 发表于 2015-9-17 09:39:14

File should not roll when commit is outstanding

  java.lang.IllegalStateException: File should not roll when commit is outstanding.
  at org.apache.flume.client.avro.ReliableSpoolingFileEventReader.readEvents(ReliableSpoolingFileEventReader.java:204)
  at org.apache.flume.source.SpoolDirectorySource$SpoolDirectoryRunnable.run(SpoolDirectorySource.java:160)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  
  监控的目录(spooldir)里面有长度为0的文件,把他删了或者改名加后缀.COMPLETE,再重启flume(有时候直接重启也没问题了)
  
  bug:https://issues.apache.org/jira/browse/FLUME-1934
  
  来自:http://hi.baidu.com/tyuuxhvpgualopr/item/9a54f411f74b49fa64eabf32
页: [1]
查看完整版本: File should not roll when commit is outstanding