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

ASF subversion and git services commented on NIFI-6113:
-------------------------------------------------------

Commit 2322b2cddf8eac123e2ecb1bf48c7daaca932565 in nifi's branch 
refs/heads/main from Stan Antyufeev
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=2322b2c ]

NIFI-6113 Refactoring GetHDFSFileInfo to remove instance level variable to make 
it stateless.

This closes #4837.

Signed-off-by: Peter Turcsanyi <[email protected]>


> GetHDFSFileInfo not working correctly with > 1 concurrent task
> --------------------------------------------------------------
>
>                 Key: NIFI-6113
>                 URL: https://issues.apache.org/jira/browse/NIFI-6113
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.8.0, 1.7.1, 1.9.0
>            Reporter: Bryan Bende
>            Assignee: Stan Antyufeev
>            Priority: Major
>         Attachments: GetHDFSFileInfo.java
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> The processor has a member variable that stores some information about what 
> directory to filter on, and the member variable is not protected for 
> concurrent access. If someone configures the processor with > 1 concurrent 
> tasks, than each execution of the processor can be updating the member 
> variable at the same time, leading to unexpected results.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to