On Thu, Feb 4, 2010 at 4:39 PM, Stas Oskin <[email protected]> wrote: > I actually asked this because I'm looking for a good alternative to current > bunch of scripts and lsb-redhat dependencies I have today in my own Hadoop > client which runs as daemon. So I kinda hoped there is some "sauce" behind > Hadoop I can borrow. > > While this might be not the most appropriate list, I'd appreciate if someone > can say if jsvc can keep the right priorities, or suggest alternative daemon > framework. > > Thanks again. > > > It long predates my involvement in the project. In fact, it predates >> Hadoop itself - it got inherited from Nutch long ago. >> >> I vaguely recall a JIRA about using jsvc for Hadoop - if you search >> around I bet you can turn it up. >> >> -Todd >> > Stas,
Demonizing is one of those native bits java does not do well with by default. jsrv is an option. I have never had a problem with nohup as you have, although it is a bit hackish. Some concepts I was considering 1) Deamontools - manages processes run in the foreground (handles restarts), no need to demonize 2) linux-ha - much like init scripts but fancy cluster management capabilities Personally, I am pretty happy with the cloudera LSB scripts. Missing 'status' but ps -ef or jps deals with that. Do you just have general problems with 'nohup' or have you unearthed a specific hadoop nohup issue?
