Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
1.10.0, 1.11.0, 1.11.1, 1.11.2
-
None
Description
Below is error message.
------------------------------------
2020-02-21 17:52:47,463 ERROR [Timer-Driven Process Thread-2] o.a.nifi.processors.standard.GetSFTP GetSFTP[id=615e1b8c-0170-1000-a265-547a6116dc45] Failed to remove remote file /TEST/test.ssm due to java.io.IOException: Failed to delete remote file /TEST/test.ssm; deleting local copy:
java.io.IOException: Failed to delete remote file /TEST/test.ssm
at org.apache.nifi.processors.standard.util.SFTPTransfer.deleteFile(SFTPTransfer.java:394)
at org.apache.nifi.processors.standard.GetFileTransfer.onTrigger(GetFileTransfer.java:211)
at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1176)
at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:213)
at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: net.schmizz.sshj.sftp.SFTPException: Failure
at net.schmizz.sshj.sftp.Response.error(Response.java:140)
at net.schmizz.sshj.sftp.Response.ensureStatusIs(Response.java:133)
at net.schmizz.sshj.sftp.Response.ensureStatusPacketIsOK(Response.java:125)
at net.schmizz.sshj.sftp.SFTPEngine.remove(SFTPEngine.java:205)
at net.schmizz.sshj.sftp.SFTPClient.rm(SFTPClient.java:125)
at org.apache.nifi.processors.standard.util.SFTPTransfer.deleteFile(SFTPTransfer.java:386)
... 12 common frames omitted
----------------------------------------
Attachments
Issue Links
- is part of
-
NIFI-7222 FetchSFTP appears to not advise the remote system it is done with a given resource resulting in too many open files
- Resolved