You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (Jira)" <ji...@apache.org> on 2020/01/30 15:27:00 UTC

[jira] [Created] (NIFI-7083) PutHive3Streaming calls FileSystem.get outside of doAs

Bryan Bende created NIFI-7083:
---------------------------------

             Summary: 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


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)