accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-925) Launch scripts should use a PIDfile
Date Thu, 25 Jun 2015 17:15:06 GMT

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

Josh Elser commented on ACCUMULO-925:
-------------------------------------

bq. Might be good to make accumulo_watcher.sh (ACCUMULO-3569) script use this PID file instead
of it's currently monitoring the *.out *.err files.

It reads to me that it's monitoring the process in the foreground. It only reads the .out
and .err files when the process has already stopped. Doesn't seem relevant to the changes
here to me.

> Launch scripts should use a PIDfile
> -----------------------------------
>
>                 Key: ACCUMULO-925
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-925
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Christopher Tubbs
>            Assignee: Billie Rinaldi
>             Fix For: 1.8.0
>
>         Attachments: ACCUMULO-925.1.patch, ACCUMULO-925.2.patch
>
>
> Start scripts should create PIDfiles to store the PID of running processes in a well
known location (example: /var/run/accumulo/tserver.pid or $ACCUMULO_HOME/tserver.pid), for
the following benefits:
> # Identify running services on a machine without executing and parsing the system process
list, so stop scripts can kill them when they are unresponsive.
> # Prevent multiple instances of the same application from starting up (an environment
variable for the location of the PIDfile can be used to allow multiple instances if it is
desirable to do so).
> # Potentially provide an alternate mechanism for terminating a process by deleting its
PIDfile rather than its lock in Zookeeper.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message