zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahadev Konar <maha...@yahoo-inc.com>
Subject Re: ouch, zookeeper infinite loop
Date Wed, 07 Jan 2009 20:13:41 GMT
The version of Jute we use is really an ancient version of recordio
ser/deser library in hadoop.  We do want to move to some
better(versioned/fast/well accepted) ser/deser library.

mahadev


On 1/7/09 12:08 PM, "Kevin Burton" <burton@spinn3r.com> wrote:

> Ah... you think it was because it was empty?  Interesting.  I will have to
> play with Jute a bit.....
> Kevin
> 
> On Wed, Jan 7, 2009 at 10:07 AM, Patrick Hunt <phunt@apache.org> wrote:
> 
>> Thanks for the report, entered as:
>> https://issues.apache.org/jira/browse/ZOOKEEPER-268
>> 
>> For the time being you can work around this by setting the threshold to
>> INFO for that class (in log4j.properties). Either that or just set the data
>> to a non-empty value for the znode.
>> 
>> Patrick
>> 
>> 
>> Kevin Burton wrote:
>> 
>>> Creating this node with this ACL:
>>> Created /foo
>>> setAcl /foo world:anyone:w
>>> 
>>> Causes the exception included below.
>>> 
>>> It's an infinite loop so it's just called over and over again filling my
>>> console.
>>> 
>>> I'm just doing an exists( path, true ); ... setting a watch still causes
>>> the
>>> problem.
>>> 
>>> 
>>> 
>>> java.lang.NullPointerException
>>>        at org.apache.jute.Utils.toCSVBuffer(Utils.java:234)
>>>        at
>>> org.apache.jute.CsvOutputArchive.writeBuffer(CsvOutputArchive.java:101)
>>>        at
>>> 
>>> org.apache.zookeeper.proto.GetDataResponse.toString(GetDataResponse.java:48)
>>>        at java.lang.String.valueOf(String.java:2827)
>>>        at java.lang.StringBuilder.append(StringBuilder.java:115)
>>>        at
>>> org.apache.zookeeper.ClientCnxn$Packet.toString(ClientCnxn.java:230)
>>>        at java.lang.String.valueOf(String.java:2827)
>>>        at java.lang.StringBuilder.append(StringBuilder.java:115)
>>>        at
>>> 
>>> org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:586)
>>>        at
>>> org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:626)
>>>        at
>>> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:852)
>>> java.lang.NullPointerException
>>>        at org.apache.jute.Utils.toCSVBuffer(Utils.java:234)
>>>        at
>>> org.apache.jute.CsvOutputArchive.writeBuffer(CsvOutputArchive.java:101)
>>>        at
>>> 
>>> org.apache.zookeeper.proto.GetDataResponse.toString(GetDataResponse.java:48)
>>>        at java.lang.String.valueOf(String.java:2827)
>>>        at java.lang.StringBuilder.append(StringBuilder.java:115)
>>>        at
>>> org.apache.zookeeper.ClientCnxn$Packet.toString(ClientCnxn.java:230)
>>>        at java.lang.String.valueOf(String.java:2827)
>>>        at java.lang.StringBuilder.append(StringBuilder.java:115)
>>>        at
>>> 
>>> org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:586)
>>>        at
>>> org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:626)
>>>        at
>>> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:852)
>>> 
>>> 
> 


Mime
View raw message