You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/09/19 22:39:01 UTC

[jira] [Commented] (BIGTOP-2887) ZOO_DATADIR_AUTOCREATE_DISABLE is always set

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

ASF GitHub Bot commented on BIGTOP-2887:
----------------------------------------

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 <af...@apache.org>
Date:   2017-09-19T22:30:57Z

    BIGTOP-2887: ZOO_DATADIR_AUTOCREATE_DISABLE is always set

----


> ZOO_DATADIR_AUTOCREATE_DISABLE is always set
> --------------------------------------------
>
>                 Key: BIGTOP-2887
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2887
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Abraham Fine
>
> We should not set a default value of true here. if the user does not set this value, we should leave it blank so the data directory can be created by zookeeper's start up scripts. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)