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

ASF subversion and git services commented on NIFI-3294:
-------------------------------------------------------

Commit 4f49095d750f55d05eaf75d6e0b60f778eef8513 in nifi's branch 
refs/heads/master from [~aldrin]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=4f49095 ]

NIFI-3294 Adjusting nifi.sh to invoke nifi-env.sh when running as another user 
such that properties are preserved across environments.

This closes #1405.

Signed-off-by: Aldrin Piri <[email protected]>
Signed-off-by: ijokarumawak <[email protected]>


> NiFi will ignore nifi-env properties when running as another user
> -----------------------------------------------------------------
>
>                 Key: NIFI-3294
>                 URL: https://issues.apache.org/jira/browse/NIFI-3294
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 1.0.0, 0.7.0, 0.7.1, 1.1.1, 1.0.1
>         Environment: All non-Windows, non-Cygwin OSes
>            Reporter: Aldrin Piri
>            Assignee: Aldrin Piri
>             Fix For: 0.8.0, 1.2.0
>
>
> nifi-env is a script that allows setting of certain properties external to 
> the core run scripts.  However, when sudo is used, the resulting 
> subshell/child process is a separate environment that does not have the 
> needed information that was established in nifi-env.  This needs to be 
> incorporated into the run command such that those properties are preserved.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to