You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2020/01/30 15:31:00 UTC
[jira] [Commented] (NIFI-7083) PutHive3Streaming calls
FileSystem.get outside of doAs
[ 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)