hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "ZooKeeper/ZooKeeperExercise1" by BenjaminReed
Date Thu, 13 Nov 2008 08:04:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by BenjaminReed:
http://wiki.apache.org/hadoop/ZooKeeper/ZooKeeperExercise1

------------------------------------------------------------------------------
  {{{
          Stat stat = new Stat();
          byte data[] = zk.getData("/motd", true, stat);
+         System.out.println(new String(data));
  }}}
  
  Try changing /data and watch the events you get. What if you change /data twice in a row?
Could this be used for messaging?

Mime
View raw message