You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (Updated) (JIRA)" <ji...@apache.org> on 2011/11/17 06:30:52 UTC

[jira] [Updated] (ZOOKEEPER-1064) Startup script needs more LSB compatability

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-1064:
------------------------------------

    Fix Version/s:     (was: 3.3.4)
                       (was: 3.3.3)
                       (was: 3.2.3)
                   3.3.5
                   3.4.1
                   3.5.0
    
> Startup script needs more LSB compatability
> -------------------------------------------
>
>                 Key: ZOOKEEPER-1064
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1064
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.3.2
>            Reporter: Ted Dunning
>             Fix For: 3.5.0, 3.4.1, 3.3.5
>
>
> The zkServer.sh script kind of sort of implements the standard init.d style of interaction.
> It lacks
> - nice return codes
> - status method
> - standard output messages
> See 
> http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
> and
> http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html
> and
> http://wiki.debian.org/LSBInitScripts
> It is an open question how much zkServer should use these LSB scripts because that may impair portability.  I
> think it should produce similar messages, however, and should return standardized error codes.  If lsb functions
> are available, I think that they should be used so that ZK works as a first class citizen.
> I will produce a proposed patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira