You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Sushil Kumar (Jira)" <ji...@apache.org> on 2019/09/18 16:59:00 UTC

[jira] [Commented] (NIFI-4913) Specifying "run.as" in bootstrap.properties causes environment variables to not be passed to NiFi

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

Sushil Kumar commented on NIFI-4913:
------------------------------------

Looking at it.

> Specifying "run.as" in bootstrap.properties causes environment variables to not be passed to NiFi
> -------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-4913
>                 URL: https://issues.apache.org/jira/browse/NIFI-4913
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 1.5.0
>            Reporter: Jonathan Peterson
>            Priority: Minor
>              Labels: beginner
>
> I solved this by including "-E" after "sudo" in nifi.sh [1].
> [1] [https://github.com/apache/nifi/blob/rel/nifi-1.5.0/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh#L312] 



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