On Nov 23, 2012 3:21 AM, "Steve Loughran" <[email protected]> wrote:
>
> I've opened a JIRA on the idea of having the hadoop processes optionally
> create exclusive write-locked files on startup, failing if the lock
> couldn't be acquired
>
> https://issues.apache.org/jira/browse/HADOOP-9086
>
> I have to plans to implement this right now -but we all know that the
> current pid file approach is flawed.
>
> -steve

Ugh. Why not use a real process supervisor like daemontools or Upstart? Why
duplicate this type of code in every application, poorly? The process table
already tracks this information, without any races or extra files needed.

Jos

Reply via email to