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

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

Commit 6a8a8caa4c202ff50bf0f51edce749eb915721f7 in nifi's branch 
refs/heads/main from Lehel Boer
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6a8a8caa4c ]

NIFI-11902: Fix ListHDFS closes FileSystem in first run

This closes #7565.

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


> ListHDFS closes FileSystem in OnTrigger
> ---------------------------------------
>
>                 Key: NIFI-11902
>                 URL: https://issues.apache.org/jira/browse/NIFI-11902
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Lehel Boér
>            Assignee: Lehel Boér
>            Priority: Critical
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently the Hadoop FileSystem::getFileSystem is called in a 
> try-with-resources block. This is unnecessary because the 
> AbstractHadoopProcessor::abstractOnStopped closes the FileSystem when the 
> processor is stopped. Hence the try-with-resources block should be removed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to