nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sook Plengchan (Jira)" <j...@apache.org>
Subject [jira] [Created] (NIFI-7177) getSFTP can't delete a original file.
Date Fri, 21 Feb 2020 11:09:00 GMT
Sook Plengchan created NIFI-7177:
------------------------------------

             Summary: getSFTP can't delete a original file.
                 Key: NIFI-7177
                 URL: https://issues.apache.org/jira/browse/NIFI-7177
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.11.2, 1.11.1, 1.11.0, 1.10.0
            Reporter: Sook Plengchan


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

----------------------------------------

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message