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

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

Commit 4e65240ddbb6e61cb3674b488251a6c3e675d67c in nifi's branch 
refs/heads/support/nifi-1.x from Lehel Boer
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4e65240ddb ]

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: 20m
>  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