[
https://issues.apache.org/jira/browse/NIFI-11902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Turcsanyi resolved NIFI-11902.
------------------------------------
Fix Version/s: 2.0.0
1.24.0
Resolution: Fixed
> 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
> Fix For: 2.0.0, 1.24.0
>
> 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)