Re: ZooKeeper viewer

2009-06-03 Thread Eric Bowman
Ted Dunning wrote: Please add comments, suggestions and improvements to the JIRA ticket. I am sure there is plenty to improve. I stuck a more useful (for me, at least) pom up there: forces compiler to -source 1.6 (perhaps 1.5 would be better, but most people using ZK are on 1.6 anyhow),

Re: ZooKeeper viewer

2009-06-03 Thread Ted Dunning
Thanks very much. I have found a few oversights in the code as well and will post a new version shortly (with your suggested changes). On Wed, Jun 3, 2009 at 8:17 AM, Eric Bowman ebow...@boboco.ie wrote: Ted Dunning wrote: Please add comments, suggestions and improvements to the JIRA ticket.

ConnectionLoss (node too big?)

2009-06-03 Thread Eric Bowman
I'm seeing an error that I suspect is due to me trying to put to big a blob a data into a node. Can anyone confirm? (version 3.1.1) On the client, I see this when trying to write a node with 7,641,662 bytes: 2009-06-03 16:57:44,583 INFO [Serializer] bytes=7641662 2009-06-03 16:57:44,662 WARN

Re: ConnectionLoss (node too big?)

2009-06-03 Thread Ted Dunning
Isn't the max file size a megabyte? On Wed, Jun 3, 2009 at 9:01 AM, Eric Bowman ebow...@boboco.ie wrote: On the client, I see this when trying to write a node with 7,641,662 bytes: -- Ted Dunning, CTO DeepDyve

Re: ConnectionLoss (node too big?)

2009-06-03 Thread Eric Bowman
Ted Dunning wrote: Isn't the max file size a megabyte? On Wed, Jun 3, 2009 at 9:01 AM, Eric Bowman ebow...@boboco.ie wrote: On the client, I see this when trying to write a node with 7,641,662 bytes: Ok, indeed, from

Re: ConnectionLoss (node too big?)

2009-06-03 Thread Patrick Hunt
Agree, created a new JIRA for this: https://issues.apache.org/jira/browse/ZOOKEEPER-430 See the following JIRA for one example why not to do this: https://issues.apache.org/jira/browse/ZOOKEEPER-327 In general you don't want to create large node sizes since all of the data/nodes are stored in

Re: ConnectionLoss (node too big?)

2009-06-03 Thread Henry Robinson
On Wed, Jun 3, 2009 at 5:27 PM, Eric Bowman ebow...@boboco.ie wrote: Anybody have any experience popping this up a bit bigger? What kind of bad things happen? I don't have personal experience of upping this restriction. However, my understanding is that if data sizes get large, writing them

Re: ConnectionLoss (node too big?)

2009-06-03 Thread Eric Bowman
Thanks for the quick reply Henry Patrick. I understand the important of small things for a common use case point of view; I don't think my case is so common, but it's also not that big a deal to just write the data to an NFS volume and puts its path in ZK. I was kind of hoping to avoid that,