[ https://issues.apache.org/jira/browse/NIFI-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221511#comment-17221511 ]
Bryan Bende commented on NIFI-7948: ----------------------------------- https://github.com/apache/nifi/pull/4622 > DeleteHDFS should wrap calls in doAs > ------------------------------------ > > Key: NIFI-7948 > URL: https://issues.apache.org/jira/browse/NIFI-7948 > Project: Apache NiFi > Issue Type: Bug > Affects Versions: 1.12.1 > Reporter: Bryan Bende > Assignee: Bryan Bende > Priority: Major > > The DeleteHDFS processor does not wrap the usage of FileSystem in a doAs the > way all the other HDFS processors do... > [https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/main/java/org/apache/nifi/processors/hadoop/DeleteHDFS.java#L148] > > Example from ListHDFS: > [https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/main/java/org/apache/nifi/processors/hadoop/ListHDFS.java#L570-L572] > It is important to call getUgi() first which is where the relogin/error > handling is. -- This message was sent by Atlassian Jira (v8.3.4#803005)