nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Thompson" <ericrushthomp...@gmail.com>
Subject RE: Hanging Processor: ExtractHL7Attributes
Date Tue, 14 Nov 2017 16:33:12 GMT
Hi Pierre,

 

Here are the repeating error messages:

 

2017-11-09 06:03:38,835 ERROR [Timer-Driven Process Thread-7] o.a.n.p.hl7.ExtractHL7Attributes
ExtractHL7Attributes[id=015f105a-8bc0-1e9a-d683-34dd30c9d744] ExtractHL7Attributes[id=015f105a-8bc0-1e9a-d683-34dd30c9d744]
failed to process session due to java.lang.NullPointerException: {}

java.lang.NullPointerException: null

                at org.apache.nifi.processors.hl7.ExtractHL7Attributes.getAllFields(ExtractHL7Attributes.java:287)

                at org.apache.nifi.processors.hl7.ExtractHL7Attributes.getAttributes(ExtractHL7Attributes.java:217)

                at org.apache.nifi.processors.hl7.ExtractHL7Attributes.onTrigger(ExtractHL7Attributes.java:199)

                at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)

                at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1119)

                at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:147)

                at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47)

                at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:128)

                at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

                at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown
Source)

                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
Source)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)

2017-11-09 06:03:38,835 WARN [Timer-Driven Process Thread-7] o.a.n.p.hl7.ExtractHL7Attributes
ExtractHL7Attributes[id=015f105a-8bc0-1e9a-d683-34dd30c9d744] Processor Administratively Yielded
for 1 sec due to processing failure

2017-11-09 06:03:38,835 WARN [Timer-Driven Process Thread-7] o.a.n.c.t.ContinuallyRunProcessorTask
Administratively Yielding ExtractHL7Attributes[id=015f105a-8bc0-1e9a-d683-34dd30c9d744] due
to uncaught Exception: java.lang.NullPointerException

2017-11-09 06:03:38,835 WARN [Timer-Driven Process Thread-7] o.a.n.c.t.ContinuallyRunProcessorTask


java.lang.NullPointerException: null

                at org.apache.nifi.processors.hl7.ExtractHL7Attributes.getAllFields(ExtractHL7Attributes.java:287)

                at org.apache.nifi.processors.hl7.ExtractHL7Attributes.getAttributes(ExtractHL7Attributes.java:217)

                at org.apache.nifi.processors.hl7.ExtractHL7Attributes.onTrigger(ExtractHL7Attributes.java:199)

                at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)

                at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1119)

                at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:147)

                at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47)

                at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:128)

                at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

                at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown
Source)

                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
Source)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)

 

 

Regards,

Eric T.

 

From: Pierre Villard [mailto:pierre.villard.fr@gmail.com] 
Sent: Tuesday, November 14, 2017 7:40 AM
To: users@nifi.apache.org
Subject: Re: Hanging Processor: ExtractHL7Attributes

 

Hi,

Can you check nifi-app.log file instead of bootstrap?

You have a bulletin generated (red icon) and you should have more information in the nifi-app.log
file.

Thanks!

 

2017-11-14 14:37 GMT+01:00 Eric Thompson <ericrushthompson@gmail.com <mailto:ericrushthompson@gmail.com>
>:

I am getting an error of 'Administratively Yielded for 1 sec due to processing failure' and
the files that are triggering the error in the processor are not getting routed to the failure
processor but seem to loop and stop up the first processor.  Any ideas on how to resolve?

 

I would expect the files that are loaded that cause the error would get routed, but instead
it appears as though it eventually just stops accepting new files all together since the queue



 

No errors in nifi-bootstrap.log.  It runs for a while then gradually slows down and stops
processing new files.

 

Tried increase the memory heap to 1,024 MB, but got an error when tried to follow the https://community.hortonworks.com/articles/7882/hdfnifi-best-practices-for-setting-up-a-high-perfo.html
recommended 8g settings.

 

Testing on:

NiFi Version 1.4.0

Tag nifi-1.4.0-RC2

Build Date/Time 09/28/2017 14:58:26 CDT

 

Java

Version 1.8.0_151

 

OS

Name Windows Server 2012 R2

Version 6.3

Architecture x86

 

Please advise!

 

-ET

 

 

 


Mime
View raw message