You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2014/12/31 19:52:13 UTC

[jira] [Commented] (NIFI-208) If a file shows up for pickup but perms block it - the whole pickup process halts

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

Joseph Witt commented on NIFI-208:
----------------------------------

the fix appears to be even more straightforward.  We should never put the files in the list for pickup unless we have at least read permission in the case of keeping original.  In the case of removing the orignal once pulled going to verify we have read on the file and write on the directory.  Technically this could mean we'd still get stuck later if they managed to change the perms in between us doing the successful listing and trying to pull the file...but that would be some strange voodoo.  So not worth a more complicated solution. 

> If a file shows up for pickup but perms block it - the whole pickup process halts
> ---------------------------------------------------------------------------------
>
>                 Key: NIFI-208
>                 URL: https://issues.apache.org/jira/browse/NIFI-208
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Joseph Witt
>            Assignee: Joseph Witt
>            Priority: Minor
>              Labels: beginner
>             Fix For: 0.0.1
>
>
> In GetFile there appears to be an issue where if a file shows up in the directory for pickup but that file's permissions are insufficient to allow pickup the whole pickup process for other valid files gets stuck.  
> This is likely pretty easy to replicate and pretty easy to solve.  Likely should keep a 'problematic' files set to avoid for a period of time such problematic objects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)