[ 
https://issues.apache.org/jira/browse/NIFI-7885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208728#comment-17208728
 ] 

Bryan Bende commented on NIFI-7885:
-----------------------------------

I'd suggest making this an environment variable like we have in nifi-env.sh for 
keytab control:
{code:java}
 export NIFI_ALLOW_EXPLICIT_KEYTAB=true{code}
This is because processors generally don't access NiFiProperties directly, but 
can easily call System.getEnv.

> Add global property for LFS access from HDFS processors
> -------------------------------------------------------
>
>                 Key: NIFI-7885
>                 URL: https://issues.apache.org/jira/browse/NIFI-7885
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Configuration, Core Framework, Extensions
>    Affects Versions: 1.12.1
>            Reporter: Andy LoPresto
>            Priority: Major
>              Labels: file-system, permission, properties, security, validation
>
> From https://issues.apache.org/jira/browse/NIFI-7884: 
> {quote}
> This will also require introducing a global setting in {{nifi.properties}} 
> that an admin can set to allow local file system access via the HDFS 
> processors (default {{true}} for backward compatibility), and additional 
> validation logic in the HDFS processors (ideally the abstract shared logic) 
> to ensure that if this setting is disabled, the HDFS processors are not 
> accessing the local file system via the {{file:///}} protocol in their 
> configuration. 
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to