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

ASF GitHub Bot commented on NIFI-3682:
--------------------------------------

Github user joewitt commented on the issue:

    https://github.com/apache/nifi/pull/1682
  
    seeing this quite a bit when failing to parse data against a given schema
    
    2017-04-19 16:13:34,895 WARN [Timer-Driven Process Thread-7] 
o.a.n.c.t.ContinuallyRunProcessorTask
    org.apache.nifi.processor.exception.FlowFileHandlingException: 
StandardFlowFileRecord[uuid=eb2bb793-5271-4b43-85f8-77240a46ab16,claim=StandardContentClaim
 [resourceClaim=StandardResourceClaim[id=1492643593409-15, container=default, 
section=15], offset=14125, length=0],offset=0,name=nifi-app.0-19874.log,size=0] 
has already been marked for removal
            at 
org.apache.nifi.controller.repository.StandardProcessSession.validateRecordState(StandardProcessSession.java:2873)
            at 
org.apache.nifi.controller.repository.StandardProcessSession.validateRecordState(StandardProcessSession.java:2880)
            at 
org.apache.nifi.controller.repository.StandardProcessSession.remove(StandardProcessSession.java:1905)
            at 
org.apache.nifi.processors.standard.QueryRecord.onTrigger(QueryRecord.java:341)
            at 
org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
            at 
org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1115)
            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:745)


> Add "Schema Access Strategy" to Record Readers and Writers
> ----------------------------------------------------------
>
>                 Key: NIFI-3682
>                 URL: https://issues.apache.org/jira/browse/NIFI-3682
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 1.2.0
>
>
> Currently the record readers are mostly configured with a Schema Registry 
> service and the name of the schema. We should instead allow user to choose 
> one of several strategies for determining the schema: Schema Registry + 
> schema.name attribute, Schema Registry + identifier and version embedded at 
> start of record/stream, avro.schema attribute, embedded schema for cases like 
> Avro where the schema can be embedded in the content itself.
> On the writer side, we should also expose these options in order to convey 
> the schema information to others.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to