You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Hans Deragon (JIRA)" <ji...@apache.org> on 2019/04/25 15:52:00 UTC

[jira] [Commented] (NIFI-5080) Could not find content for StandardContentClaim

    [ https://issues.apache.org/jira/browse/NIFI-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826194#comment-16826194 ] 

Hans Deragon commented on NIFI-5080:
------------------------------------

I get _Could not find content for StandardContentClaim_ with _PutHive3Streaming_ but I believe that this is unrelated to _PutHive3Streaming_. I have some flowfiles that are buggy and remain in the input queue of the _PutHive3Streaming_. These flowfiles have attributes and size, but when I attempt to read the content (List queue / ⓘ / View), the content is not available. The error 'Unable to find the specified content' shows up instead. These buggy flowfiles probably where generated when my test environment was stressed to the max and Nifi started to misbehave/crash.

> Could not find content for StandardContentClaim
> -----------------------------------------------
>
>                 Key: NIFI-5080
>                 URL: https://issues.apache.org/jira/browse/NIFI-5080
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.2.0
>            Reporter: wuguangxue
>            Priority: Critical
>
> nifi.properties setting:
>  
> nifi.content.repository.archive.enabled=false
> nifi.content.repository.always.sync=false
>  
> trace:
>  
>  
> 2018-04-13 10:00:01,399 WARN [Timer-Driven Process Thread-1] o.a.n.c.t.ContinuallyRunProcessorTask Administratively Yielding HylandaCreateDbTableProcessor[id=c093aa31-2edb-3eb1-fffb-2482ca84f0f0] due to uncaught Exception: org.apache.nifi.controller.repository.ContentNotFoundException: Could not find content for StandardContentClaim [resourceClaim=StandardResourceClaim[id=1523527106350-24650, container=default, section=74], offset=8613, length=8673]
>  2018-04-13 10:00:01,399 WARN [Timer-Driven Process Thread-1] o.a.n.c.t.ContinuallyRunProcessorTask
>  org.apache.nifi.controller.repository.ContentNotFoundException: Could not find content for StandardContentClaim [resourceClaim=StandardResourceClaim[id=1523527106350-24650, container=default, section=74], offset=8613, length=8673]
>  at org.apache.nifi.controller.repository.FileSystemRepository.getPath(FileSystemRepository.java:509)
>  at org.apache.nifi.controller.repository.FileSystemRepository.read(FileSystemRepository.java:817)
>  at org.apache.nifi.controller.repository.StandardProcessSession.getInputStream(StandardProcessSession.java:2075)
>  at org.apache.nifi.controller.repository.StandardProcessSession.read(StandardProcessSession.java:2163)
>  at com.hylanda.processors.hlcreatedbtable.HylandaCreateDbTableProcessor.onTrigger(HylandaCreateDbTableProcessor.java:228)
>  at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:30)
>  at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1134)
>  at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:144)
>  at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47)
>  at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132)
>  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:748)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)