You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Koji Kawamura (JIRA)" <ji...@apache.org> on 2017/12/14 02:25:00 UTC

[jira] [Updated] (NIFI-4694) Make PutSFTP 'Disable Directory Listing' a normal property

     [ https://issues.apache.org/jira/browse/NIFI-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Kawamura updated NIFI-4694:
--------------------------------
    Status: Patch Available  (was: Open)

> Make PutSFTP 'Disable Directory Listing' a normal property
> ----------------------------------------------------------
>
>                 Key: NIFI-4694
>                 URL: https://issues.apache.org/jira/browse/NIFI-4694
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Koji Kawamura
>            Assignee: Koji Kawamura
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)