You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by marvingreenberg <gi...@git.apache.org> on 2014/09/30 22:47:57 UTC

[GitHub] zookeeper pull request: Prevent 'STARTED' message when zookeeper f...

GitHub user marvingreenberg opened a pull request:

    https://github.com/apache/zookeeper/pull/21

    Prevent 'STARTED' message when zookeeper fails immediately

    Exit status from backgrounded process not available to shell
    so 'STARTED' message displayed when java command fails immediately.
    Write "_ZOO_ERR" file in background on failure, allowing immediate
    failures to be detected by zkServer.sh script.  The sleeps are necessary
    because of setup time for background processes to get started.

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

    $ git pull https://github.com/marvingreenberg/zookeeper trunk

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

    https://github.com/apache/zookeeper/pull/21.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 #21
    
----
commit bb584c679d7845e12562d7d1303b565354c05dd5
Author: Marvin Greenberg <pu...@gmail.com>
Date:   2014-09-30T13:45:15Z

    Exit status from backgrounded process not available to shell
    so 'STARTED' message displayed when java command fails immediately.
    Write "_ZOO_ERR" file in background on failure, allowing immediate
    failures to be detected by zkServer.sh script

commit f659fc017273ab92a62f9e9b6e588fb8df7fddd8
Author: Marvin Greenberg <pu...@gmail.com>
Date:   2014-09-30T20:43:24Z

    Fix for issue with sub-shell PID getting into PID FILE

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---