hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-3430) hbase-daemon.sh should clean up PID files on process stop
Date Fri, 07 Jan 2011 21:20:45 GMT

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

stack resolved HBASE-3430.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.90.0
         Assignee: Gary Helmling
     Hadoop Flags: [Reviewed]

I just committed this to trunk and branch.

> hbase-daemon.sh should clean up PID files on process stop
> ---------------------------------------------------------
>
>                 Key: HBASE-3430
>                 URL: https://issues.apache.org/jira/browse/HBASE-3430
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Gary Helmling
>            Assignee: Gary Helmling
>            Priority: Trivial
>             Fix For: 0.90.0
>
>         Attachments: HBASE-3430.patch
>
>
> I just did a simple watchdog script for internal use to enable HBase process restarts
on failure.  While most of it was easy, I found no way to distinguish between a process failure
and intentional stop, since the HBase scripts leave PID files sitting around after shutdown.
> I think it would be generally useful for hbase-daemon.sh to cleanup PID files on successful
process stop.  This is really just a matter of adding "rm $pid" after stop completes.  Any
concerns/objections?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message