Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6699

GetSFTP and ListSFTP Fail on File Symbolic Links

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.2, 1.15.3
    • 1.16.0
    • Core Framework
    • None

    Description

      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,

      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)
      

      Attachments

        Activity

          People

            exceptionfactory David Handermann
            karthicbalaji R.G. Karthic Balaji
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m