Joseph Gresock created NIFI-3353:
------------------------------------
Summary: nifi-bootstrap.log not written to if using non-standard
conf.dir
Key: NIFI-3353
URL: https://issues.apache.org/jira/browse/NIFI-3353
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.1.1
Reporter: Joseph Gresock
Priority: Minor
To reproduce this, replace "./conf" with "/opt/nifi/data/conf" (or some other
directory that's not in the nifi installation dir) in bootstrap.conf, and
specify the same absolute path in the nifi.properties file as well, for all
properties that use the ./conf directory. Move all conf files to the
/opt/nifi/data/conf directory.
In order to get this configuration to start up, you also apparently need
${NIFI_HOME}/conf/bootstrap.conf to be a symbolic link to the actual location
of that file (in /opt/nifi/data/conf, in this case). E.g.:
{code}
$ ls -al $NIFI_HOME/conf
lrwxrwxrwx. 1 root root 19 Jan 12 13:27 bootstrap.conf ->
/opt/nifi/data/conf/bootstrap.conf
{code}
Starting up nifi shows that the nifi-bootstrap.log is created but not written
to, although all other log files are successfully written to.
I was able to work around this by simply linking the entire ${NIFI_HOME}/conf
directory to /opt/nifi/data/conf:
{code}
$ ls -al $NIFI_HOME
drwxr-xr-x. 2 nifi nifi 4096 Dec 23 10:58 bin
lrwxrwxrwx. 1 root root 19 Jan 12 13:27 conf -> /opt/nifi/data/conf
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)