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

ASF GitHub Bot commented on NIFI-4694:
--------------------------------------

Github user markap14 commented on the issue:

    https://github.com/apache/nifi/pull/2338
  
    Thanks @ijokarumawak ! Got this merge to master.


> 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
>             Fix For: 1.5.0
>
>
> 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