[
https://issues.apache.org/jira/browse/NIFI-7083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026766#comment-17026766
]
Matt Burgess commented on NIFI-7083:
------------------------------------
Need to make sure we don't cause a regression of NIFI-2873.
> PutHive3Streaming calls FileSystem.get outside of doAs
> ------------------------------------------------------
>
> Key: NIFI-7083
> URL: https://issues.apache.org/jira/browse/NIFI-7083
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.11.0
> Reporter: Bryan Bende
> Priority: Major
>
> The setup method calls hiveConfigurator.preload:
> [https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/src/main/java/org/apache/nifi/processors/hive/PutHive3Streaming.java#L309]
> The preload method calls FileSystem.get which seems incorrect, because the
> setup calls hiveConfigurator.authenticate after this.
> So depending what is in the core-site at the time FileSystem.get is called,
> it can cause failures due to being outside of a doAs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)