You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by ChingShen <ch...@gmail.com> on 2010/12/13 08:54:01 UTC
Question about AvatarNode
Hi all,
I read the "Looking at the code behind our three uses of Apache Hadoop"(
http://www.facebook.com/note.php?note_id=468211193919&comments) article that
mentioned the primary AvatarNode and the standby AvatarNode are coordinated
via Apache ZooKeeper, but why can't I find any code snippet about ZooKeeper
in HDFS-976?
Thanks.
Shen
Re: Question about AvatarNode
Posted by ChingShen <ch...@gmail.com>.
Hi Ted,
Thanks for your reply.
Shen
On Tue, Dec 14, 2010 at 1:37 PM, Ted Yu <yu...@gmail.com> wrote:
> Check out the code on github
> You can find
>
> contrib/highavailability/src/java/org/apache/hadoop/hdfs/AvatarZooKeeperClient.java
>
> On Sun, Dec 12, 2010 at 11:54 PM, ChingShen <ch...@gmail.com>
> wrote:
>
> > Hi all,
> >
> > I read the "Looking at the code behind our three uses of Apache
> Hadoop"(
> > http://www.facebook.com/note.php?note_id=468211193919&comments) article
> > that
> > mentioned the primary AvatarNode and the standby AvatarNode are
> coordinated
> > via Apache ZooKeeper, but why can't I find any code snippet about
> ZooKeeper
> > in HDFS-976?
> >
> > Thanks.
> >
> > Shen
> >
>
Re: Question about AvatarNode
Posted by Ted Yu <yu...@gmail.com>.
Check out the code on github
You can find
contrib/highavailability/src/java/org/apache/hadoop/hdfs/AvatarZooKeeperClient.java
On Sun, Dec 12, 2010 at 11:54 PM, ChingShen <ch...@gmail.com> wrote:
> Hi all,
>
> I read the "Looking at the code behind our three uses of Apache Hadoop"(
> http://www.facebook.com/note.php?note_id=468211193919&comments) article
> that
> mentioned the primary AvatarNode and the standby AvatarNode are coordinated
> via Apache ZooKeeper, but why can't I find any code snippet about ZooKeeper
> in HDFS-976?
>
> Thanks.
>
> Shen
>