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

ASF subversion and git services commented on NIFI-6699:
-------------------------------------------------------

Commit ce66cf41e2e16a0aa4098d8ae5a69cd73851986d in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ce66cf4 ]

NIFI-6699 Corrected SFTP symbolic link handling (#5744)

- Added SFTP stat() request on symbolic links to check directory status
- Refactored and renamed TestServerSFTPTransfer class

> GetSFTP and ListSFTP Fail on File Symbolic Links
> ------------------------------------------------
>
>                 Key: NIFI-6699
>                 URL: https://issues.apache.org/jira/browse/NIFI-6699
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.9.2, 1.15.3
>            Reporter: R.G. Karthic Balaji
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> I am using NiFi 1.9.2 and when started performing GetSFTP from source having 
> a symlink file, I am unable to perform the GetSFTP operation and getting 
> below log
>  
> I have set the symlink property to true in GetSFTP,
> {noformat}
> from /GKBalaajee/input/bulkstat.tgz/bulkstat.tgz; skipping: 
> java.io.FileNotFoundException: Could not perform listing on 
> /GKBalaajee/input/bulkstat.tgz/bulkstat.tgz because could not find the file 
> on the remote server
> java.io.FileNotFoundException: Could not perform listing on 
> /GKBalaajee/input/bulkstat.tgz/bulkstat.tgz because could not find the file 
> on the remote server
>         at 
> org.apache.nifi.processors.standard.util.SFTPTransfer.getListing(SFTPTransfer.java:268)
>         at 
> org.apache.nifi.processors.standard.util.SFTPTransfer.getListing(SFTPTransfer.java:282)
>         at 
> org.apache.nifi.processors.standard.util.SFTPTransfer.getListing(SFTPTransfer.java:282)
>         at 
> org.apache.nifi.processors.standard.util.SFTPTransfer.getListing(SFTPTransfer.java:175)
>         at 
> org.apache.nifi.processors.standard.GetFileTransfer.fetchListing(GetFileTransfer.java:284)
>         at 
> org.apache.nifi.processors.standard.GetFileTransfer.onTrigger(GetFileTransfer.java:127)
>         at 
> org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
>         at 
> org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1162)
>         at 
> org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:209)
>         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.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:1149)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to