[ 
https://issues.apache.org/jira/browse/NIFI-7083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard resolved NIFI-7083.
----------------------------------
    Resolution: Feedback Received

Apache NiFi 1.x is no longer maintained and no new release is planned on the 
1.x release line. Marking as resolved as part of a cleanup operation. Please 
open a new one with an updated description if this is still relevant for NiFi 
2.x.

> 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.20.10#820010)

Reply via email to