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

Make PutSFTP 'Disable Directory Listing' a normal property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.0
    • Extensions
    • None

    Description

      PutSFTP checks dir existence and if not, it tries to create the dir. Since it's done by these two operations, if any other SFTP client (other thread, other NiFi node in the same cluster or whatever) created the same dir between checking and creating dir, it's possible to get an Exception.

      Actually, above error can be avoided, by a dynamic property named 'Disable Directory Listing'. If set to 'true', then the processor won't perform directory existence check. It will just perform create dir operation blindly and swallow an Exception if thrown.

      The property has been a dynamic property, but it should be a normal property so that users can notice the option.

      Attachments

        Issue Links

          Activity

            People

              ijokarumawak Koji Kawamura
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: