Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

GetFTP Self-suppression not permitted on Nifi 1.1.1

GetFTP Self-suppression not permitted on Nifi 1.1.1

New Contributor

GetFTP processor throws Self-suppression not permitted randomly on 1.1.1. Sometime it throws error and sometime it works. Recently we have installed the version 1.1.1. We have another server where nifi version 0.6.1 is running. According to our observation GetFTP works fine on version 0.6.1. The stacktarce is given below:

2017-03-28 06:31:35,713 ERROR [Timer-Driven Process Thread-1] o.apache.nifi.processors.standard.GetFTP GetFTP[id=2cc13dd1-8437-44de-9e03-3b8d91cc2e60] Unable to retrieve file /register/bom713/adfd/IDZ71000_AUS_T_SFC.nc.gz due to java.lang.IllegalArgumentException: Self-suppression not permitted: org.apache.nifi.processor.exception.FlowFileAccessException: Failed to import data from org.apache.commons.net.io.SocketInputStream@5b418425 for StandardFlowFileRecord[uuid=5749cabb-3351-45b5-8081-37292dda0a58,claim=,offset=0,name=200044854598879,size=0] due to java.lang.IllegalArgumentException: Self-suppression not permitted 2017-03-28 06:31:35,716 ERROR [Timer-Driven Process Thread-1] o.apache.nifi.processors.standard.GetFTP org.apache.nifi.processor.exception.FlowFileAccessException: Failed to import data from org.apache.commons.net.io.SocketInputStream@5b418425 for StandardFlowFileRecord[uuid=5749cabb-3351-45b5-8081-37292dda0a58,claim=,offset=0,name=200044854598879,size=0] due to java.lang.IllegalArgumentException: Self-suppression not permitted at org.apache.nifi.controller.repository.StandardProcessSession.importFrom(StandardProcessSession.java:2690) ~[na:na] at org.apache.nifi.processors.standard.GetFileTransfer.onTrigger(GetFileTransfer.java:194) ~[nifi-standard-processors-1.1.1.jar:1.1.1] at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) [nifi-api-1.1.1.jar:1.1.1] at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1099) [nifi-framework-core-1.1.1.jar:1.1.1] at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136) [nifi-framework-core-1.1.1.jar:1.1.1] at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) [nifi-framework-core-1.1.1.jar:1.1.1] at org.apache.nifi.controller.scheduling.QuartzSchedulingAgent$2.run(QuartzSchedulingAgent.java:165) [nifi-framework-core-1.1.1.jar:1.1.1] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_111] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_111] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_111] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111] Caused by: java.lang.IllegalArgumentException: Self-suppression not permitted at java.lang.Throwable.addSuppressed(Throwable.java:1043) ~[na:1.8.0_111] at org.apache.nifi.controller.repository.FileSystemRepository.importFrom(FileSystemRepository.java:701) ~[na:na] at org.apache.nifi.controller.repository.StandardProcessSession.importFrom(StandardProcessSession.java:2680) ~[na:na] ... 13 common frames omitted Caused by: java.lang.NullPointerException: null

Don't have an account?
Coming from Hortonworks? Activate your account here