Nifi TailFile处理器超时

时间:2016-09-26 19:19:26

标签: java runtimeexception apache-nifi

我试图运行一个始终从文件底部开始的尾文件。当我启动处理器时,我不断收到此错误:

  

2016-09-26 15:13:23,973 ERROR [StandardProcessScheduler Thread-7] o.a.nifi.processors.standard.TailFile java.lang.RuntimeException:   在执行处理器的OnScheduled任务之一时超时。在   org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1412)   〜[na:na] at   org.apache.nifi.controller.StandardProcessorNode.access $ 100(StandardProcessorNode.java:96)   〜[na:na] at   org.apache.nifi.controller.StandardProcessorNode $ 1.run(StandardProcessorNode.java:1240)   〜[na:na] at   java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)   [na:1.8.0_101] at   java.util.concurrent.FutureTask.run(FutureTask.java:266)   [na:1.8.0_101] at   java.util.concurrent.ScheduledThreadPoolExecutor中的$ ScheduledFutureTask.access $ 201(ScheduledThreadPoolExecutor.java:180)   [na:1.8.0_101] at   java.util.concurrent.ScheduledThreadPoolExecutor中的$ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)   [na:1.8.0_101] at   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)   [na:1.8.0_101] at   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:617)   [na:1.8.0_101]在java.lang.Thread.run(Thread.java:745)   [na:1.8.0_101]引起:java.util.concurrent.TimeoutException:null     at java.util.concurrent.FutureTask.get(FutureTask.java:205)   [na:1.8.0_101] at   org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1397)   〜[na:na] ...省略了9个常用帧

我已设置"运行时间表"到5秒。你知道发生了什么吗?

谢谢!

0 个答案:

没有答案