You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "nijel (JIRA)" <ji...@apache.org> on 2012/06/18 18:41:43 UTC

[jira] [Comment Edited] (BOOKKEEPER-296) It's better provide stop script for bookie

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

nijel edited comment on BOOKKEEPER-296 at 6/18/12 4:39 PM:
-----------------------------------------------------------

The following modificatiosn are done to make the script better

1. Implemented the pid based stop command
2. While stopping used kill command to stop it gracefully and after some timeout (configurable using system property, default 3 sec) used kill -9 to stop the bookie
3. While starting the pid file is being checked, if available the process existance is checked and if not continue with startup.

The same is implemented for localbookie

Attached the patch for this work. Pls review
                
      was (Author: nijel):
    The following modificatiosn are done to make the script better

1. Implemented the pid based stop command
2. While stopping used kill command to stop it gracefully and after some timeout (default 3 sec) used kill -9 to stop the bookie
3. While starting the pid file is being checked, if available the process existance is checked and if not continue with startup.

The same is implemented for localbookie

Attached the patch for thie work. Pls review
                  
> It's better provide stop script for bookie
> ------------------------------------------
>
>                 Key: BOOKKEEPER-296
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-296
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-server
>    Affects Versions: 4.0.0
>            Reporter: Brahma Reddy Battula
>         Attachments: BOOKKEEPER-296.patch
>
>
> Currently there is no command to stop bookie in 4.0.0..It's better to provide stop command for bookie.

--
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