From: Avinash L. <avi...@gm...> - 2008-06-07 01:22:55
|
Actually it was my bad. I figured out what I was doing incorrectly. All is good. Thanks Avinash On Fri, Jun 6, 2008 at 1:59 PM, Benjamin Reed <br...@ya...> wrote: > Are you sure there are no exceptions being thrown? So after the create the > path is not there? Is it possible the create is succeeding but the session > is timing out and the node is being deleted? > > ben > > ----- Original Message ---- > From: Avinash Lakshman <avi...@gm...> > To: zoo...@li... > Sent: Friday, June 6, 2008 1:49:16 AM > Subject: [Zookeeper-user] create() failure > > When I do execute the folloiwing code : > > String pathCreated = zk.create(createPath, new byte[0], > Ids.OPEN_ACL_UNSAFE, (CreateFlags.SEQUENCE | CreateFlags.EPHEMERAL) ); > > > It seems to fail silently w/o reporting any errors. I mean I have a log > statement after this line which never shows up. However it works if I > execute it via the debugger. Any ideas as to what might be happening? > > Thanks > A > |