accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-925) Launch scripts should use a PIDfile
Date Wed, 02 Jan 2013 16:12:12 GMT
Christopher Tubbs created ACCUMULO-925:
------------------------------------------

             Summary: 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: Christopher Tubbs
             Fix For: 1.6.0


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message