Mark Payne wrote
> Hello,
>
> So I am a little bit confused by this error. The only case where this
> should ever occur
> is when NiFi is shutdown. This is the only case when the Partition would
> be closed.
>
> Is it possible that you're seeing some other error while running, and then
> this error only
> when shutting down?
>
> Thanks
> -Mark
That is the only error I see, but I will take a look at the entire log next
time it happens, which should be any time now. One variation is as follows:
16-10-31 14:13:27,574 ERROR [StandardProcessScheduler Thread-2]
org.apache.nifi.util.ReflectionUtils Failed while invoking annotated method
'public final void org.apache.nifi.processor.util.bin.BinFiles.resetState()'
with arguments '[]'.
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.8.0_65]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_65]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65]
at
org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:137)
[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:125)
[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.util.ReflectionUtils.quietlyInvokeMethodsWithAnnotations(ReflectionUtils.java:233)
[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.util.ReflectionUtils.quietlyInvokeMethodsWithAnnotation(ReflectionUtils.java:85)
[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.controller.StandardProcessorNode$2.run(StandardProcessorNode.java:1338)
[nifi-framework-core-1.0.0.jar:1.0.0]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[na:1.8.0_65]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[na:1.8.0_65]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
[na:1.8.0_65]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[na:1.8.0_65]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_65]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_65]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
Caused by: java.lang.IllegalStateException: Partition is closed
at
org.wali.MinimalLockingWriteAheadLog$Partition.update(MinimalLockingWriteAheadLog.java:906)
~[nifi-write-ahead-log-1.0.0.jar:1.0.0]
at
org.wali.MinimalLockingWriteAheadLog.update(MinimalLockingWriteAheadLog.java:230)
~[nifi-write-ahead-log-1.0.0.jar:1.0.0]
at
org.apache.nifi.controller.repository.WriteAheadFlowFileRepository.swapFlowFilesOut(WriteAheadFlowFileRepository.java:323)
~[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.controller.FileSystemSwapManager.swapOut(FileSystemSwapManager.java:129)
~[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.controller.StandardFlowFileQueue.writeSwapFilesIfNecessary(StandardFlowFileQueue.java:579)
~[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.controller.StandardFlowFileQueue.put(StandardFlowFileQueue.java:282)
~[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.controller.repository.StandardProcessSession.rollback(StandardProcessSession.java:949)
~[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.controller.repository.StandardProcessSession.rollback(StandardProcessSession.java:876)
~[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.controller.repository.StandardProcessSession.rollback(StandardProcessSession.java:871)
~[nifi-framework-core-1.0.0.jar:1.0.0]
at
org.apache.nifi.processor.util.bin.BinManager.purge(BinManager.java:64)
~[nifi-processor-utils-1.0.0.jar:1.0.0]
at
org.apache.nifi.processor.util.bin.BinFiles.resetState(BinFiles.java:108)
~[nifi-processor-utils-1.0.0.jar:1.0.0]
--
View this message in context:
http://apache-nifi-developer-list.39713.n7.nabble.com/Partition-closed-in-MergeContent-bins-tp13851p13854.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.