You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Lars Francke (JIRA)" <ji...@apache.org> on 2018/06/28 21:19:00 UTC

[jira] [Created] (NIFI-5350) Add a way to provide arbitrary Java options in shell scripts

Lars Francke created NIFI-5350:
----------------------------------

             Summary: Add a way to provide arbitrary Java options in shell scripts
                 Key: NIFI-5350
                 URL: https://issues.apache.org/jira/browse/NIFI-5350
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Tools and Build
    Affects Versions: 1.7.0
            Reporter: Lars Francke
            Assignee: Lars Francke


I wanted to change the location of the bootstrap config file which can be done using the System property {{org.apache.nifi.bootstrap.config.file}}. Unfortunately there's no easy way to set that using the default {{nifi.sh}} script.

It can be done using the {{BOOTSTRAP_DEBUG_PARAMS}} environment variable but that doesn't feel right and can break if anyone actually uses that variable.

I suggest adding an optional environment variable {{BOOTSTRAP_JAVA_OPTS}} that can be used to pass in extra options to Java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)