GitHub user afine opened a pull request:
https://github.com/apache/bigtop/pull/284
BIGTOP-2887: ZOO_DATADIR_AUTOCREATE_DISABLE is always set
While this change should not impact the version of ZooKeeper that is
currently shipping with bigtop, later versions of ZooKeeper use the
ZOO_DATADIR_AUTOCREATE_DISABLE environment variable to decide if the
initialization script should create the data directory. We prevent the
environment variable from ever being empty, totally preventing datadir
autocreation.
We should not alter this value at all.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/afine/bigtop BIGTOP-2887
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bigtop/pull/284.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 #284
----
commit 5fca9e8e15798b4f5190e8b6925a5747b24f35d3
Author: Abraham Fine <[email protected]>
Date: 2017-09-19T22:30:57Z
BIGTOP-2887: ZOO_DATADIR_AUTOCREATE_DISABLE is always set
----
---