zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1061) Zookeeper stop fails if start called twice
Date Tue, 17 May 2011 10:55:47 GMT

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

Hudson commented on ZOOKEEPER-1061:
-----------------------------------

Integrated in ZooKeeper-trunk #1185 (See [https://builds.apache.org/hudson/job/ZooKeeper-trunk/1185/])
    ZOOKEEPER-1061. Zookeeper stop fails if start called twice. (Ted Dunning via mahadev)


> Zookeeper stop fails if start called twice
> ------------------------------------------
>
>                 Key: ZOOKEEPER-1061
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1061
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.3.2
>            Reporter: Ted Dunning
>            Assignee: Ted Dunning
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-1061.patch
>
>
> The zkServer.sh script doesn't check properly to see if a previously started
> server is still running.  If you call start twice, the second invocation
> will over-write the PID file with a process that then fails due to port
> occupancy.
> This means that stop will subsequently fail.
> Here is a reference that describes how init scripts should normally work:
> http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message