Koji Kawamura created NIFI-4694:
-----------------------------------

             Summary: 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)

Reply via email to