You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/28 10:25:12 UTC

[jira] [Commented] (NIFI-1812) Add nifi-env script

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

ASF GitHub Bot commented on NIFI-1812:
--------------------------------------

GitHub user YolandaMDavis opened a pull request:

    https://github.com/apache/nifi/pull/386

    NIFI-1812 nifi-env scripts (linux/windows)

    Initial commit for nifi-env scripts. Scripts will provide a centralized method of setting environmental variables for use by other scripts (e.g. nifi.sh).  Changes for linux and windows installations are included. Settings included are JAVA_HOME location, nifi log directory and nifi pid directory.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/YolandaMDavis/nifi NIFI-1812

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/386.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #386
    
----
commit 094719be012d1fb2613ec4e6eff2bfbe6050a01e
Author: Yolanda M. Davis <yo...@gmail.com>
Date:   2016-04-26T16:16:39Z

    NIFI-1812 initial commit for nifi-env script, includes updates to linux/windows scripts, logback changes, RunNifi/Shutdownhook changes

----


> Add nifi-env script 
> --------------------
>
>                 Key: NIFI-1812
>                 URL: https://issues.apache.org/jira/browse/NIFI-1812
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Yolanda M. Davis
>             Fix For: 1.0.0
>
>
> The nifi-env script should be created for use by nifi startup, status and shutdown scripts to set env variables like JAVA_HOME, location of log dir, location of pid dir etc. This makes it easier to manage these locations in a single script. For example currently the path to java is set in bootstrap.conf however if your system does not have JAVA_HOME set or java in path the nifi start command fails (so the user has to explicitly set JAVA_HOME or PATH before invoking nifi start). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)