Re: Can zookeeper achive the IBM TSA function?

2010-01-20 Thread Ted Dunning
Take a look here at the recipes:

http://hadoop.apache.org/zookeeper/docs/r3.0.0/recipes.html

On Wed, Jan 20, 2010 at 12:15 AM, xeoshow  wrote:

> Ted, thank you very much for your reply. I think A will exit and so ZK can
> help ..
>
> Not sure if any further link can help on how to program for such
> scenario...
> :-)
>
>
>


Re: Can zookeeper achive the IBM TSA function?

2010-01-20 Thread xeoshow
Ted, thank you very much for your reply. I think A will exit and so ZK can
help ..

Not sure if any further link can help on how to program for such scenario...
:-)


2010/1/20 Ted Dunning 

> yes.
>
> But there is some danger that A will maintain a connection to ZK and thus
> retain the master status without being able to act as such.
>
> If you can guarantee that A will exit or go catatonic if it is unable to
> continue, then ZK should solve your problem.  This failure scenario is
> common, but with a database, I would wonder if there are others.
>
> On Tue, Jan 19, 2010 at 11:30 PM, xeoshow  wrote:
>
> >  I am wondering can this monitor part be replaced by zookeeper, using
> > zookeeper watch or something else?
> >
>
>
>
> --
> Ted Dunning, CTO
> DeepDyve
>


Re: Can zookeeper achive the IBM TSA function?

2010-01-19 Thread Ted Dunning
yes.

But there is some danger that A will maintain a connection to ZK and thus
retain the master status without being able to act as such.

If you can guarantee that A will exit or go catatonic if it is unable to
continue, then ZK should solve your problem.  This failure scenario is
common, but with a database, I would wonder if there are others.

On Tue, Jan 19, 2010 at 11:30 PM, xeoshow  wrote:

>  I am wondering can this monitor part be replaced by zookeeper, using
> zookeeper watch or something else?
>



-- 
Ted Dunning, CTO
DeepDyve