<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>cassandra-dev@incubator.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/</id>
<updated>2009-12-10T01:27:06Z</updated>
<entry>
<title>Re: [VOTE] Release 0.5.0-beta2</title>
<author><name>Jaakko &lt;rosvopaallikko@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cfc97bb180912091609l2f1775d2y5004a26f2e7da133@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfc97bb180912091609l2f1775d2y5004a26f2e7da133@mail-gmail-com%3e</id>
<updated>2009-12-10T00:09:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
+1

-J


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [VOTE] Release 0.5.0-beta2</title>
<author><name>Matthieu Riou &lt;matthieu.riou@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cfbdc6a970912091354s68911c1bkd676567ceef69c66@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfbdc6a970912091354s68911c1bkd676567ceef69c66@mail-gmail-com%3e</id>
<updated>2009-12-09T21:54:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Dec 9, 2009 at 11:18 AM, Eric Evans &lt;eevans@rackspace.com&gt; wrote:

&gt;
&gt; Since beta1 there have been known bugs fixed, new bugs discovered, and
&gt; then fixed, optimizations made, and some nifty new enhancements (see
&gt; CHANGES.txt[1]). Also, the for-0.5 list is getting quite short[2].
&gt;
&gt; I propose the following tag and artifacts for 0.5.0-beta2
&gt;
&gt; SVN Tag:
&gt;
&gt; https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.5.0-beta2
&gt; 0.5.0-beta2 artifacts: http://people.apache.org/~eevans&lt;http://people.apache.org/%7Eeevans&gt;
&gt;
&gt;
+1

Matthieu


&gt; [1]
&gt;
&gt; https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.5.0-beta2/CHANGES.txt
&gt;
&gt;
&gt; --
&gt; Eric Evans
&gt; eevans@rackspace.com
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [VOTE] Release 0.5.0-beta2</title>
<author><name>Jun Rao &lt;junrao@almaden.ibm.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cOF89C0CC4E.2C4F66FE-ON88257687.00723841-88257687.00723BFF@us.ibm.com%3e"/>
<id>urn:uuid:%3cOF89C0CC4E-2C4F66FE-ON88257687-00723841-88257687-00723BFF@us-ibm-com%3e</id>
<updated>2009-12-09T20:47:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Content-type: text/plain; charset=US-ASCII

+1.

Jun
IBM Almaden Research Center
K55/B1, 650 Harry Road, San Jose, CA  95120-6099

junrao@almaden.ibm.com


Eric Evans &lt;eevans@rackspace.com&gt; wrote on 12/09/2009 11:18:16 AM:

&gt; [image removed]
&gt;
&gt; [VOTE] Release 0.5.0-beta2
&gt;
&gt; Eric Evans
&gt;
&gt; to:
&gt;
&gt; cassandra-dev
&gt;
&gt; 12/09/2009 11:19 AM
&gt;
&gt; Please respond to cassandra-dev
&gt;
&gt;
&gt;
&gt; Since beta1 there have been known bugs fixed, new bugs discovered, and
&gt; then fixed, optimizations made, and some nifty new enhancements (see
&gt; CHANGES.txt[1]). Also, the for-0.5 list is getting quite short[2].
&gt;
&gt; I propose the following tag and artifacts for 0.5.0-beta2
&gt;
&gt; SVN Tag:
&gt; https://svn.apache.org/repos/asf/incubator/cassandra/tags/
&gt; cassandra-0.5.0-beta2
&gt; 0.5.0-beta2 artifacts: http://people.apache.org/~eevans
&gt;
&gt; [1]
&gt; https://svn.apache.org/repos/asf/incubator/cassandra/tags/
&gt; cassandra-0.5.0-beta2/CHANGES.txt
&gt;
&gt;
&gt; --
&gt; Eric Evans
&gt; eevans@rackspace.com
&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [VOTE] Release 0.5.0-beta2</title>
<author><name>Chris Goffinet &lt;cg@chrisgoffinet.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c325d6c0a0912091140w2e90a6cj4eb8e47998a95d90@mail.gmail.com%3e"/>
<id>urn:uuid:%3c325d6c0a0912091140w2e90a6cj4eb8e47998a95d90@mail-gmail-com%3e</id>
<updated>2009-12-09T19:40:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
+1

On Wed, Dec 9, 2009 at 11:18 AM, Eric Evans &lt;eevans@rackspace.com&gt; wrote:

&gt;
&gt; Since beta1 there have been known bugs fixed, new bugs discovered, and
&gt; then fixed, optimizations made, and some nifty new enhancements (see
&gt; CHANGES.txt[1]). Also, the for-0.5 list is getting quite short[2].
&gt;
&gt; I propose the following tag and artifacts for 0.5.0-beta2
&gt;
&gt; SVN Tag:
&gt;
&gt; https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.5.0-beta2
&gt; 0.5.0-beta2 artifacts: http://people.apache.org/~eevans&lt;http://people.apache.org/%7Eeevans&gt;
&gt;
&gt; [1]
&gt;
&gt; https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.5.0-beta2/CHANGES.txt
&gt;
&gt;
&gt; --
&gt; Eric Evans
&gt; eevans@rackspace.com
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [VOTE] Release 0.5.0-beta2</title>
<author><name>Jonathan Ellis &lt;jbellis@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3ce06563880912091126r65ce1c3bgb003953ed3c1869f@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06563880912091126r65ce1c3bgb003953ed3c1869f@mail-gmail-com%3e</id>
<updated>2009-12-09T19:26:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
+1


</pre>
</div>
</content>
</entry>
<entry>
<title>[VOTE] Release 0.5.0-beta2</title>
<author><name>Eric Evans &lt;eevans@rackspace.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c1260386296.1169.30.camel@achilles%3e"/>
<id>urn:uuid:%3c1260386296-1169-30-camel@achilles%3e</id>
<updated>2009-12-09T19:18:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Since beta1 there have been known bugs fixed, new bugs discovered, and
then fixed, optimizations made, and some nifty new enhancements (see
CHANGES.txt[1]). Also, the for-0.5 list is getting quite short[2].

I propose the following tag and artifacts for 0.5.0-beta2

SVN Tag:
https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.5.0-beta2
0.5.0-beta2 artifacts: http://people.apache.org/~eevans

[1]
https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.5.0-beta2/CHANGES.txt


-- 
Eric Evans
eevans@rackspace.com



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Questions about weak reads</title>
<author><name>Sylvain Lebresne &lt;sylvain@yakaz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cac68ab850912090908i4e113c91v83a0d3a888b0fd93@mail.gmail.com%3e"/>
<id>urn:uuid:%3cac68ab850912090908i4e113c91v83a0d3a888b0fd93@mail-gmail-com%3e</id>
<updated>2009-12-09T17:08:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Dec 9, 2009 at 6:04 PM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:
&gt; On Wed, Dec 9, 2009 at 11:01 AM, Sylvain Lebresne &lt;sylvain@yakaz.com&gt; wrote:
&gt;&gt; And wouldn't it be possible/reasonable to do something like a strong read, but
&gt;&gt; with a modified quorumResponseHandler that return from get() as soon as it
&gt;&gt; gets an answer and do the responseResolver/read repair in the background.
&gt;&gt; Wouldn't it speed up some reads when a node other that the suitableEndpoint
&gt;&gt; has less latency ?
&gt;
&gt; That's reasonable, but of course the penalty is increased network
&gt; traffic since you are sending full responses from each replica instead
&gt; of just digests.

Indeed

Thanks

&gt;
&gt; -Jonathan
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Questions about weak reads</title>
<author><name>Jonathan Ellis &lt;jbellis@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3ce06563880912090904v5fe4733dj7117b130e8bebc7c@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06563880912090904v5fe4733dj7117b130e8bebc7c@mail-gmail-com%3e</id>
<updated>2009-12-09T17:04:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Dec 9, 2009 at 11:01 AM, Sylvain Lebresne &lt;sylvain@yakaz.com&gt; wrote:
&gt; And wouldn't it be possible/reasonable to do something like a strong read, but
&gt; with a modified quorumResponseHandler that return from get() as soon as it
&gt; gets an answer and do the responseResolver/read repair in the background.
&gt; Wouldn't it speed up some reads when a node other that the suitableEndpoint
&gt; has less latency ?

That's reasonable, but of course the penalty is increased network
traffic since you are sending full responses from each replica instead
of just digests.

-Jonathan


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Questions about weak reads</title>
<author><name>Sylvain Lebresne &lt;sylvain@yakaz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cac68ab850912090901m2adb3e72xa947fb67c8323d48@mail.gmail.com%3e"/>
<id>urn:uuid:%3cac68ab850912090901m2adb3e72xa947fb67c8323d48@mail-gmail-com%3e</id>
<updated>2009-12-09T17:01:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Dec 9, 2009 at 5:43 PM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:
&gt;&gt; In any case, at least for readRemote, why when the "suitableEndpoint"
&gt;&gt; timeout another
&gt;&gt; node is not tried ?
&gt;
&gt; Because
&gt;  (1) clients need to be able to handle failures either way, so better
&gt; to bail early since
&gt;  (2) each retry costs potentially RPC_TIMEOUT ms

Make sense, thanks for the answer.

And wouldn't it be possible/reasonable to do something like a strong read, but
with a modified quorumResponseHandler that return from get() as soon as it
gets an answer and do the responseResolver/read repair in the background.
Wouldn't it speed up some reads when a node other that the suitableEndpoint
has less latency ?

&gt;
&gt; -Jonathan
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Questions about weak reads</title>
<author><name>Jonathan Ellis &lt;jbellis@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3ce06563880912090843o12297c16r5e5da8ff36ef8adb@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06563880912090843o12297c16r5e5da8ff36ef8adb@mail-gmail-com%3e</id>
<updated>2009-12-09T16:43:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Dec 9, 2009 at 10:33 AM, Sylvain Lebresne &lt;sylvain@yakaz.com&gt; wrote:
&gt; Well, I just checkout from svn
&gt; (svn checkout https://svn.apache.org/repos/asf/incubator/cassandra/trunk
&gt; cassandra)

Thanks, updated comments.

&gt; In any case, at least for readRemote, why when the "suitableEndpoint"
&gt; timeout another
&gt; node is not tried ?

Because
 (1) clients need to be able to handle failures either way, so better
to bail early since
 (2) each retry costs potentially RPC_TIMEOUT ms

-Jonathan


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Questions about weak reads</title>
<author><name>Sylvain Lebresne &lt;sylvain@yakaz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cac68ab850912090833u799779fdgdb1c2e420d408fab@mail.gmail.com%3e"/>
<id>urn:uuid:%3cac68ab850912090833u799779fdgdb1c2e420d408fab@mail-gmail-com%3e</id>
<updated>2009-12-09T16:33:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Dec 9, 2009 at 5:09 PM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:
&gt; On Wed, Dec 9, 2009 at 9:37 AM, Sylvain Lebresne &lt;sylvain@yakaz.com&gt; wrote:
&gt;&gt; But otherwise, the discrepancy between code and comments suggests that the
&gt;&gt; code was changed. If so, what was the rational behind the change ?
&gt;
&gt; I'm guessing you're reading the 0.4 source?  This has been cleaned up
&gt; in trunk.  At least I'm pretty sure it has, because I remember the
&gt; comments you're referring to, and I don't see them anymore. :)


Well, I just checkout from svn
(svn checkout https://svn.apache.org/repos/asf/incubator/cassandra/trunk
cassandra)
to be sure, the NEWS.txt and CHANGES.txt corroborate that it's 0.5dev.
Still, the comment for weakReadRemote starts with
  "Read the data from one replica.  If there is no reply, read the
data from another."
and the one for weakReadLocal starts with
  "This function executes the read protocol locally and should be used
only if consistency is not a concern.
    Read the data from the local disk and return if the row is NOT
NULL. If the data is NULL do the read from
    one of the other replicas (in the same data center if possible)
till we get the data."

In any case, at least for readRemote, why when the "suitableEndpoint"
timeout another
node is not tried ?

&gt; -Jonathan
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Questions about weak reads</title>
<author><name>Jonathan Ellis &lt;jbellis@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3ce06563880912090809k39a9c94dyfbc072889dcb7e69@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06563880912090809k39a9c94dyfbc072889dcb7e69@mail-gmail-com%3e</id>
<updated>2009-12-09T16:09:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Dec 9, 2009 at 9:37 AM, Sylvain Lebresne &lt;sylvain@yakaz.com&gt; wrote:
&gt; But otherwise, the discrepancy between code and comments suggests that the
&gt; code was changed. If so, what was the rational behind the change ?

I'm guessing you're reading the 0.4 source?  This has been cleaned up
in trunk.  At least I'm pretty sure it has, because I remember the
comments you're referring to, and I don't see them anymore. :)

-Jonathan


</pre>
</div>
</content>
</entry>
<entry>
<title>Questions about weak reads</title>
<author><name>Sylvain Lebresne &lt;sylvain@yakaz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cac68ab850912090737o516c73e5oc22cfab063f863d4@mail.gmail.com%3e"/>
<id>urn:uuid:%3cac68ab850912090737o516c73e5oc22cfab063f863d4@mail-gmail-com%3e</id>
<updated>2009-12-09T15:37:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

I'm playing a bit with Cassandra and had a look at the code to understand
better how reads and writes works.

And I have a question about the weak read protocol . If I understand correctly,
a weak read either read the row locally (if that makes sense) or pick the
"closest" node and ask him to send its row. In the case of a remote
weak read, if the node timeout, the whole read timeout. Wouldn't that be worth
it, for availability sake, to ask another replica ?
Well, if I say that, it's because it is the behavior the comments of the
StorageProxy.weakReadRemote method actually suggests. But it doesn't seems
to be what the code does.

Am I completely mistaking ? If so, sorry about it.

And while I'm at it, the comments of the function weakReadLocal says that
if the local row is NULL, it'll do the read from another replica. But again,
that doesn't seems to be the case.

Again, I'm fairly new to Cassandra and its code, so if I'm wrong, sorry.

But otherwise, the discrepancy between code and comments suggests that the
code was changed. If so, what was the rational behind the change ?

Thanks,
Sylvain


</pre>
</div>
</content>
</entry>
<entry>
<title>Cassandra is due an Incubator report this month</title>
<author><name>ant elder &lt;ant.elder@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c71e1b5740912081417j372dc945s49019f760b46001e@mail.gmail.com%3e"/>
<id>urn:uuid:%3c71e1b5740912081417j372dc945s49019f760b46001e@mail-gmail-com%3e</id>
<updated>2009-12-08T22:17:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
FYI reminder - http://wiki.apache.org/incubator/December2009

   ...ant


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: gossip documentation</title>
<author><name>Jaakko &lt;rosvopaallikko@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cfc97bb180912070221j1464c9f6w5f890a625072242b@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfc97bb180912070221j1464c9f6w5f890a625072242b@mail-gmail-com%3e</id>
<updated>2009-12-07T10:21:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Yeah, you're right it is too detailed for an introduction. I'll improve it.

Thanks,
-Jaakko


On Fri, Dec 4, 2009 at 11:40 PM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:
&gt; Some of it is pretty low-level -- we might be better served moving
&gt; some into comments / docstrings and keeping the wiki oriented towards
&gt; overview.  What do you think?
&gt;
&gt; On Fri, Dec 4, 2009 at 4:47 AM, Jaakko &lt;rosvopaallikko@gmail.com&gt; wrote:
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; Just wrote part of Gossip documentation. Before finishing this, I'd
&gt;&gt; like to hear opinions on is this level of documentation too detailed
&gt;&gt; or suitable? Any other comments/ideas are of course also very welcome!
&gt;&gt;
&gt;&gt; -Jaakko
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: what are utils.Fast* for?</title>
<author><name>Jonathan Ellis &lt;jbellis@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3ce06563880912051351t2bedf31bsfca69847e4c25e0@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06563880912051351t2bedf31bsfca69847e4c25e0@mail-gmail-com%3e</id>
<updated>2009-12-05T21:51:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
removed

On Sat, Dec 5, 2009 at 1:55 PM, gabriele renzi &lt;rff.rff@gmail.com&gt; wrote:
&gt; On Sat, Dec 5, 2009 at 3:23 PM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:
&gt;&gt; Dead code.  Deleted.
&gt;
&gt; thanks, I love when this happens :)
&gt; I believe the same could be done for PrimeFinder.java
&gt;
&gt;&gt; BTW, if you're looking through the codebase you should probably start
&gt;&gt; here: http://wiki.apache.org/cassandra/ArchitectureInternals
&gt;
&gt; thanks, I had been pointed to that on IRC, and it is indeed useful.
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: what are utils.Fast* for?</title>
<author><name>gabriele renzi &lt;rff.rff@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c828083e70912051155l2ecf9125n1f8e9c372e113dd@mail.gmail.com%3e"/>
<id>urn:uuid:%3c828083e70912051155l2ecf9125n1f8e9c372e113dd@mail-gmail-com%3e</id>
<updated>2009-12-05T19:55:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Sat, Dec 5, 2009 at 3:23 PM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:
&gt; Dead code.  Deleted.

thanks, I love when this happens :)
I believe the same could be done for PrimeFinder.java

&gt; BTW, if you're looking through the codebase you should probably start
&gt; here: http://wiki.apache.org/cassandra/ArchitectureInternals

thanks, I had been pointed to that on IRC, and it is indeed useful.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: what are utils.Fast* for?</title>
<author><name>Jonathan Ellis &lt;jbellis@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3ce06563880912050623v1337f9c2l8a29a0122a1736cd@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06563880912050623v1337f9c2l8a29a0122a1736cd@mail-gmail-com%3e</id>
<updated>2009-12-05T14:23:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dead code.  Deleted.

BTW, if you're looking through the codebase you should probably start
here: http://wiki.apache.org/cassandra/ArchitectureInternals

On Sat, Dec 5, 2009 at 5:14 AM, gabriele renzi &lt;rff.rff@gmail.com&gt; wrote:
&gt; Hi everyone,
&gt;
&gt; while trying to get a grasp of the codebase in cassandra, I run
&gt; FindBugs on it and got a complaint about this code in
&gt; org.apache.cassandra.utils.FastHashMap.containsValue(Object)
&gt;
&gt; """
&gt;        // special case null values so that we don't have to
&gt;        // perform null checks before every call to equals()
&gt;        if (null == val)
&gt;        {
&gt;            for (int i = vals.length; i-- &gt; 0;)
&gt;            {
&gt;                if ((set[i] != FREE &amp;&amp; set[i] != REMOVED) &amp;&amp; val == vals[i])
&gt;                {
&gt;                    return true;
&gt;                }
&gt;            }
&gt;        }
&gt; """
&gt;
&gt; as Findbugs would prefer the last condition to be spelled as
&gt;  null == vals[i]
&gt;
&gt; I wanted to look around to check this was not a bug, but then I
&gt; wondered what is this class for. Apparently all of FastHashMap,
&gt; FastObjechHash, FastLinkedHashMap, and FastHash are never used
&gt; anywhere in the code:
&gt;
&gt; $ ack 'Fast(Linked|Hash|Object)'  -l
&gt; src/java/org/apache/cassandra/utils/FastHash.java
&gt; src/java/org/apache/cassandra/utils/FastHashMap.java
&gt; src/java/org/apache/cassandra/utils/FastLinkedHashMap.java
&gt; src/java/org/apache/cassandra/utils/FastObjectHash.java
&gt; $
&gt;
&gt;
&gt; Does anyone have an explanation for this  (e.g. they are loaded by
&gt; reflection by concatenating strings) or are they just remnants of old
&gt; code?
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Hudson build is back to normal: Cassandra #278</title>
<author><name>Apache Hudson Server &lt;hudson@hudson.zones.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c22419900.7381260016473669.JavaMail.hudson@hudson.zones.apache.org%3e"/>
<id>urn:uuid:%3c22419900-7381260016473669-JavaMail-hudson@hudson-zones-apache-org%3e</id>
<updated>2009-12-05T12:34:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;http://hudson.zones.apache.org/hudson/job/Cassandra/278/changes&gt;




</pre>
</div>
</content>
</entry>
<entry>
<title>what are utils.Fast* for?</title>
<author><name>gabriele renzi &lt;rff.rff@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c828083e70912050314n6140ec38if169fa4c3c12e4a2@mail.gmail.com%3e"/>
<id>urn:uuid:%3c828083e70912050314n6140ec38if169fa4c3c12e4a2@mail-gmail-com%3e</id>
<updated>2009-12-05T11:14:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi everyone,

while trying to get a grasp of the codebase in cassandra, I run
FindBugs on it and got a complaint about this code in
org.apache.cassandra.utils.FastHashMap.containsValue(Object)

"""
        // special case null values so that we don't have to
        // perform null checks before every call to equals()
        if (null == val)
        {
            for (int i = vals.length; i-- &gt; 0;)
            {
                if ((set[i] != FREE &amp;&amp; set[i] != REMOVED) &amp;&amp; val == vals[i])
                {
                    return true;
                }
            }
        }
"""

as Findbugs would prefer the last condition to be spelled as
 null == vals[i]

I wanted to look around to check this was not a bug, but then I
wondered what is this class for. Apparently all of FastHashMap,
FastObjechHash, FastLinkedHashMap, and FastHash are never used
anywhere in the code:

$ ack 'Fast(Linked|Hash|Object)'  -l
src/java/org/apache/cassandra/utils/FastHash.java
src/java/org/apache/cassandra/utils/FastHashMap.java
src/java/org/apache/cassandra/utils/FastLinkedHashMap.java
src/java/org/apache/cassandra/utils/FastObjectHash.java
$


Does anyone have an explanation for this  (e.g. they are loaded by
reflection by concatenating strings) or are they just remnants of old
code?


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails with &quot;ant clean gen-thrift-java build&quot;</title>
<author><name>Gary Dusbabek &lt;gdusbabek@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c1c6fcff0912040847x7e1c8855w12b9f5c1ac20784@mail.gmail.com%3e"/>
<id>urn:uuid:%3c1c6fcff0912040847x7e1c8855w12b9f5c1ac20784@mail-gmail-com%3e</id>
<updated>2009-12-04T16:47:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
David Reiss commented on THRIFT-641:
------------------------------------

This is intentional.  See THRIFT-529

On Fri, Dec 4, 2009 at 09:07, Gary Dusbabek &lt;gdusbabek@gmail.com&gt; wrote:
&gt; On Thu, Dec 3, 2009 at 13:26, Todd Lipcon &lt;todd@cloudera.com&gt; wrote:
&gt;&gt; On Thu, Dec 3, 2009 at 11:24 AM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:
&gt;&gt;
&gt;&gt;&gt; either way, removing the all-args constructor is a regression.
&gt;&gt;&gt;
&gt;&gt;&gt; Agreed. Open a JIRA? :)
&gt;&gt;
&gt;
&gt; https://issues.apache.org/jira/browse/THRIFT-641
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails with &quot;ant clean gen-thrift-java build&quot;</title>
<author><name>Gary Dusbabek &lt;gdusbabek@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c1c6fcff0912040707t6fabfa2dta73eaa9bcdb80c05@mail.gmail.com%3e"/>
<id>urn:uuid:%3c1c6fcff0912040707t6fabfa2dta73eaa9bcdb80c05@mail-gmail-com%3e</id>
<updated>2009-12-04T15:07:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Dec 3, 2009 at 13:26, Todd Lipcon &lt;todd@cloudera.com&gt; wrote:
&gt; On Thu, Dec 3, 2009 at 11:24 AM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:
&gt;
&gt;&gt; either way, removing the all-args constructor is a regression.
&gt;&gt;
&gt;&gt; Agreed. Open a JIRA? :)
&gt;

https://issues.apache.org/jira/browse/THRIFT-641


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: gossip documentation</title>
<author><name>Jonathan Ellis &lt;jbellis@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3ce06563880912040640s36bc730ci710a094c5311c118@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06563880912040640s36bc730ci710a094c5311c118@mail-gmail-com%3e</id>
<updated>2009-12-04T14:40:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Some of it is pretty low-level -- we might be better served moving
some into comments / docstrings and keeping the wiki oriented towards
overview.  What do you think?

On Fri, Dec 4, 2009 at 4:47 AM, Jaakko &lt;rosvopaallikko@gmail.com&gt; wrote:
&gt; Hi,
&gt;
&gt; Just wrote part of Gossip documentation. Before finishing this, I'd
&gt; like to hear opinions on is this level of documentation too detailed
&gt; or suitable? Any other comments/ideas are of course also very welcome!
&gt;
&gt; -Jaakko
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: gossip documentation</title>
<author><name>Jaakko &lt;rosvopaallikko@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cfc97bb180912040549t5dc48a0l5b8218c95b8fcc85@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfc97bb180912040549t5dc48a0l5b8218c95b8fcc85@mail-gmail-com%3e</id>
<updated>2009-12-04T13:49:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; Referring to: http://wiki.apache.org/cassandra/ArchitectureGossip

Ah, yes, Thank You. Sorry about forgetting the URL :(

-J


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: gossip documentation</title>
<author><name>Jonathan Ellis &lt;jbellis@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3ce06563880912040524l3a3a355ekd5adb2368cf84310@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06563880912040524l3a3a355ekd5adb2368cf84310@mail-gmail-com%3e</id>
<updated>2009-12-04T13:24:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Referring to: http://wiki.apache.org/cassandra/ArchitectureGossip

On Fri, Dec 4, 2009 at 4:47 AM, Jaakko &lt;rosvopaallikko@gmail.com&gt; wrote:
&gt; Hi,
&gt;
&gt; Just wrote part of Gossip documentation. Before finishing this, I'd
&gt; like to hear opinions on is this level of documentation too detailed
&gt; or suitable? Any other comments/ideas are of course also very welcome!
&gt;
&gt; -Jaakko
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Build failed in Hudson: Cassandra #277</title>
<author><name>Apache Hudson Server &lt;hudson@hudson.zones.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c8346795.6591259930046867.JavaMail.hudson@hudson.zones.apache.org%3e"/>
<id>urn:uuid:%3c8346795-6591259930046867-JavaMail-hudson@hudson-zones-apache-org%3e</id>
<updated>2009-12-04T12:34:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;http://hudson.zones.apache.org/hudson/job/Cassandra/277/changes&gt;

Changes:

[jbellis] r/m method that duplicates Arrays.equals.  patch by jbellis

[jbellis] simplify findSuitableEndPoint by using sortByProximity.  patch by jbellis

[jbellis] Fix not returning live subcolumns of deleted supercolumns
patch by jbellis; reviewed by junrao for CASSANDRA-583

------------------------------------------
[...truncated 1193 lines...]
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.service.StorageServiceTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.629 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] ERROR  unregisterMBean, org.apache.cassandra.concurrent:type=GMFD
    [junit] javax.management.InstanceNotFoundException: org.apache.cassandra.concurrent:type=GMFD
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
    [junit] 	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.unregisterMBean(DebuggableThreadPoolExecutor.java:94)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.shutdownNow(DebuggableThreadPoolExecutor.java:113)
    [junit] 	at org.apache.cassandra.concurrent.SingleThreadedStage.shutdown(SingleThreadedStage.java:88)
    [junit] 	at org.apache.cassandra.concurrent.StageManager.shutdown(StageManager.java:126)
    [junit] 	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:528)
    [junit] 	at org.apache.cassandra.service.StorageService.stopClient(StorageService.java:247)
    [junit] 	at org.apache.cassandra.service.StorageServiceTest.testRegularMode(StorageServiceTest.java:65)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    [junit] 	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] ERROR  unregisterMBean, org.apache.cassandra.concurrent:type=ROW-READ-STAGE
    [junit] javax.management.InstanceNotFoundException: org.apache.cassandra.concurrent:type=ROW-READ-STAGE
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
    [junit] 	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.unregisterMBean(DebuggableThreadPoolExecutor.java:94)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.shutdownNow(DebuggableThreadPoolExecutor.java:113)
    [junit] 	at org.apache.cassandra.concurrent.MultiThreadedStage.shutdown(MultiThreadedStage.java:79)
    [junit] 	at org.apache.cassandra.concurrent.StageManager.shutdown(StageManager.java:126)
    [junit] 	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:528)
    [junit] 	at org.apache.cassandra.service.StorageService.stopClient(StorageService.java:247)
    [junit] 	at org.apache.cassandra.service.StorageServiceTest.testRegularMode(StorageServiceTest.java:65)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    [junit] 	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] ERROR  unregisterMBean, org.apache.cassandra.concurrent:type=STREAM-STAGE
    [junit] javax.management.InstanceNotFoundException: org.apache.cassandra.concurrent:type=STREAM-STAGE
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
    [junit] 	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.unregisterMBean(DebuggableThreadPoolExecutor.java:94)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.shutdownNow(DebuggableThreadPoolExecutor.java:113)
    [junit] 	at org.apache.cassandra.concurrent.SingleThreadedStage.shutdown(SingleThreadedStage.java:88)
    [junit] 	at org.apache.cassandra.concurrent.StageManager.shutdown(StageManager.java:126)
    [junit] 	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:528)
    [junit] 	at org.apache.cassandra.service.StorageService.stopClient(StorageService.java:247)
    [junit] 	at org.apache.cassandra.service.StorageServiceTest.testRegularMode(StorageServiceTest.java:65)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    [junit] 	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] ERROR  unregisterMBean, org.apache.cassandra.concurrent:type=ROW-MUTATION-STAGE
    [junit] javax.management.InstanceNotFoundException: org.apache.cassandra.concurrent:type=ROW-MUTATION-STAGE
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
    [junit] 	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.unregisterMBean(DebuggableThreadPoolExecutor.java:94)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.shutdownNow(DebuggableThreadPoolExecutor.java:113)
    [junit] 	at org.apache.cassandra.concurrent.MultiThreadedStage.shutdown(MultiThreadedStage.java:79)
    [junit] 	at org.apache.cassandra.concurrent.StageManager.shutdown(StageManager.java:126)
    [junit] 	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:528)
    [junit] 	at org.apache.cassandra.service.StorageService.stopClient(StorageService.java:247)
    [junit] 	at org.apache.cassandra.service.StorageServiceTest.testRegularMode(StorageServiceTest.java:65)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    [junit] 	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] ------------- ---------------- ---------------
    [junit] Exception in thread "Thread-1" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.tools.SSTableExportTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.443 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.tools.SSTableImportTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.423 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.BloomFilterTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 2.184 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.BoundedStatsDequeTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.FBUtilitiesTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.108 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.FilterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.36 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more

BUILD FAILED
&lt;http://hudson.zones.apache.org/hudson/job/Cassandra/ws/cassandra/build.xml&gt;:243: Some
test(s) failed.

Total time: 2 minutes 50 seconds
Publishing Javadoc
Archiving artifacts
Recording test results



</pre>
</div>
</content>
</entry>
<entry>
<title>gossip documentation</title>
<author><name>Jaakko &lt;rosvopaallikko@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cfc97bb180912040247h55ac9731w7161af8fbf195da1@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfc97bb180912040247h55ac9731w7161af8fbf195da1@mail-gmail-com%3e</id>
<updated>2009-12-04T10:47:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Just wrote part of Gossip documentation. Before finishing this, I'd
like to hear opinions on is this level of documentation too detailed
or suitable? Any other comments/ideas are of course also very welcome!

-Jaakko


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails with &quot;ant clean gen-thrift-java build&quot;</title>
<author><name>Todd Lipcon &lt;todd@cloudera.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c45f85f70912031126n526f7d93k95cc31d4d748a644@mail.gmail.com%3e"/>
<id>urn:uuid:%3c45f85f70912031126n526f7d93k95cc31d4d748a644@mail-gmail-com%3e</id>
<updated>2009-12-03T19:26:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Dec 3, 2009 at 11:24 AM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:

&gt; either way, removing the all-args constructor is a regression.
&gt;
&gt; Agreed. Open a JIRA? :)


&gt;  On Thu, Dec 3, 2009 at 1:20 PM, Todd Lipcon &lt;todd@cloudera.com&gt; wrote:
&gt; &gt; On Thu, Dec 3, 2009 at 11:00 AM, Jonathan Ellis &lt;jbellis@gmail.com&gt;
&gt; wrote:
&gt; &gt;
&gt; &gt;&gt; i think historically there has been a no-arg constructor and one w/ all
&gt; &gt;&gt; args.
&gt; &gt;&gt;
&gt; &gt;&gt; imo correct behavior is one with only req'd args, and one w/ all.
&gt; &gt;&gt;
&gt; &gt;&gt; I think having one with no args is good as well. The problem with having
&gt; &gt; one with only required args is that java doesn't have keyword arguments.
&gt; So,
&gt; &gt; if you have a struct with several required members, you're going to have
&gt; &gt; "new Foo(a,b,c,d,e,f)" for example. If the order (or names) of fields
&gt; &gt; changes or something, you can break your app without generating a
&gt; &gt; compilation error, whereas if you're using explicit setters, you'll catch
&gt; &gt; it.
&gt; &gt;
&gt; &gt; -Todd
&gt; &gt;
&gt; &gt; rule of thumb: if it breaks cassandra, it's a bug. :)
&gt; &gt;&gt;
&gt; &gt;&gt; On Thu, Dec 3, 2009 at 12:36 PM, Gary Dusbabek &lt;gdusbabek@gmail.com&gt;
&gt; &gt;&gt; wrote:
&gt; &gt;&gt; &gt; 2009/12/3 Ted Zlatanov &lt;tzz@lifelogs.com&gt;:
&gt; &gt;&gt; &gt;&gt; On Thu, 3 Dec 2009 06:42:27 -0600 Gary Dusbabek &lt;gdusbabek@gmail.com
&gt; &gt;
&gt; &gt;&gt; wrote:
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt; GD&gt; This seems to be a Thrift regression.  It is failing to generate
&gt; any
&gt; &gt;&gt; &gt;&gt; GD&gt; but the no-arg constructors.  I saw this about a week ago but
&gt; never
&gt; &gt;&gt; &gt;&gt; GD&gt; got around to filing a Thrift ticket against it.
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt; GD&gt; Your best bet, other than rolling back to an older version of
&gt; &gt;&gt; thrift,
&gt; &gt;&gt; &gt;&gt; GD&gt; is to add the constructors yourself from the old code.
&gt; &gt;&gt; &gt;&gt;
&gt; &gt;&gt; &gt;&gt; I could also file a Thrift bug.  Or are you implying you'll do it?
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; If it is a bug.  I never made time to do the research, but here is
&gt; &gt;&gt; &gt; what seems to be happening...
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; Optional members are not included in the constructor, required members
&gt; &gt;&gt; &gt; are.  I'm not sure if they ever were, and the constructors were just
&gt; &gt;&gt; &gt; manually added after generation or not.
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; E.g.,
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; struct ColumnParent1 {
&gt; &gt;&gt; &gt;    3: required string column_family,
&gt; &gt;&gt; &gt;    4: optional binary super_column,
&gt; &gt;&gt; &gt; }
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; generates:
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt;  public ColumnParent1(String column_family)
&gt; &gt;&gt; &gt;  {
&gt; &gt;&gt; &gt;    this();
&gt; &gt;&gt; &gt;    this.column_family = column_family;
&gt; &gt;&gt; &gt;  }
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; whereas:
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; struct ColumnParent3 {
&gt; &gt;&gt; &gt;    3: required string column_family,
&gt; &gt;&gt; &gt;    4: required binary super_column,
&gt; &gt;&gt; &gt; }
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; generates:
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt;  public ColumnParent3(String column_family, byte[] super_column)
&gt; &gt;&gt; &gt;  {
&gt; &gt;&gt; &gt;    this();
&gt; &gt;&gt; &gt;    this.column_family = column_family;
&gt; &gt;&gt; &gt;    this.super_column = super_column;
&gt; &gt;&gt; &gt;  }
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; Changing the optional fields to required solves the problem and
&gt; &gt;&gt; &gt; creates the necessary constructors, or the required constructors can
&gt; &gt;&gt; &gt; be added.
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; Unfortunately, I'm a thrift noob too.  Old-timers, what is the correct
&gt; &gt;&gt; behavior?
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; Gary.
&gt; &gt;&gt; &gt;
&gt; &gt;&gt;
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails with &quot;ant clean gen-thrift-java build&quot;</title>
<author><name>Jonathan Ellis &lt;jbellis@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3ce06563880912031124m48116815n136b6f92d1c9b21c@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06563880912031124m48116815n136b6f92d1c9b21c@mail-gmail-com%3e</id>
<updated>2009-12-03T19:24:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
either way, removing the all-args constructor is a regression.

On Thu, Dec 3, 2009 at 1:20 PM, Todd Lipcon &lt;todd@cloudera.com&gt; wrote:
&gt; On Thu, Dec 3, 2009 at 11:00 AM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:
&gt;
&gt;&gt; i think historically there has been a no-arg constructor and one w/ all
&gt;&gt; args.
&gt;&gt;
&gt;&gt; imo correct behavior is one with only req'd args, and one w/ all.
&gt;&gt;
&gt;&gt; I think having one with no args is good as well. The problem with having
&gt; one with only required args is that java doesn't have keyword arguments. So,
&gt; if you have a struct with several required members, you're going to have
&gt; "new Foo(a,b,c,d,e,f)" for example. If the order (or names) of fields
&gt; changes or something, you can break your app without generating a
&gt; compilation error, whereas if you're using explicit setters, you'll catch
&gt; it.
&gt;
&gt; -Todd
&gt;
&gt; rule of thumb: if it breaks cassandra, it's a bug. :)
&gt;&gt;
&gt;&gt; On Thu, Dec 3, 2009 at 12:36 PM, Gary Dusbabek &lt;gdusbabek@gmail.com&gt;
&gt;&gt; wrote:
&gt;&gt; &gt; 2009/12/3 Ted Zlatanov &lt;tzz@lifelogs.com&gt;:
&gt;&gt; &gt;&gt; On Thu, 3 Dec 2009 06:42:27 -0600 Gary Dusbabek &lt;gdusbabek@gmail.com&gt;
&gt;&gt; wrote:
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; GD&gt; This seems to be a Thrift regression.  It is failing to generate
any
&gt;&gt; &gt;&gt; GD&gt; but the no-arg constructors.  I saw this about a week ago but never
&gt;&gt; &gt;&gt; GD&gt; got around to filing a Thrift ticket against it.
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; GD&gt; Your best bet, other than rolling back to an older version of
&gt;&gt; thrift,
&gt;&gt; &gt;&gt; GD&gt; is to add the constructors yourself from the old code.
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; I could also file a Thrift bug.  Or are you implying you'll do it?
&gt;&gt; &gt;
&gt;&gt; &gt; If it is a bug.  I never made time to do the research, but here is
&gt;&gt; &gt; what seems to be happening...
&gt;&gt; &gt;
&gt;&gt; &gt; Optional members are not included in the constructor, required members
&gt;&gt; &gt; are.  I'm not sure if they ever were, and the constructors were just
&gt;&gt; &gt; manually added after generation or not.
&gt;&gt; &gt;
&gt;&gt; &gt; E.g.,
&gt;&gt; &gt;
&gt;&gt; &gt; struct ColumnParent1 {
&gt;&gt; &gt;    3: required string column_family,
&gt;&gt; &gt;    4: optional binary super_column,
&gt;&gt; &gt; }
&gt;&gt; &gt;
&gt;&gt; &gt; generates:
&gt;&gt; &gt;
&gt;&gt; &gt;  public ColumnParent1(String column_family)
&gt;&gt; &gt;  {
&gt;&gt; &gt;    this();
&gt;&gt; &gt;    this.column_family = column_family;
&gt;&gt; &gt;  }
&gt;&gt; &gt;
&gt;&gt; &gt; whereas:
&gt;&gt; &gt;
&gt;&gt; &gt; struct ColumnParent3 {
&gt;&gt; &gt;    3: required string column_family,
&gt;&gt; &gt;    4: required binary super_column,
&gt;&gt; &gt; }
&gt;&gt; &gt;
&gt;&gt; &gt; generates:
&gt;&gt; &gt;
&gt;&gt; &gt;  public ColumnParent3(String column_family, byte[] super_column)
&gt;&gt; &gt;  {
&gt;&gt; &gt;    this();
&gt;&gt; &gt;    this.column_family = column_family;
&gt;&gt; &gt;    this.super_column = super_column;
&gt;&gt; &gt;  }
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt; Changing the optional fields to required solves the problem and
&gt;&gt; &gt; creates the necessary constructors, or the required constructors can
&gt;&gt; &gt; be added.
&gt;&gt; &gt;
&gt;&gt; &gt; Unfortunately, I'm a thrift noob too.  Old-timers, what is the correct
&gt;&gt; behavior?
&gt;&gt; &gt;
&gt;&gt; &gt; Gary.
&gt;&gt; &gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails with &quot;ant clean gen-thrift-java build&quot;</title>
<author><name>Todd Lipcon &lt;todd@cloudera.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c45f85f70912031120m43f2ed82w5e6af4a227ee5c10@mail.gmail.com%3e"/>
<id>urn:uuid:%3c45f85f70912031120m43f2ed82w5e6af4a227ee5c10@mail-gmail-com%3e</id>
<updated>2009-12-03T19:20:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Dec 3, 2009 at 11:00 AM, Jonathan Ellis &lt;jbellis@gmail.com&gt; wrote:

&gt; i think historically there has been a no-arg constructor and one w/ all
&gt; args.
&gt;
&gt; imo correct behavior is one with only req'd args, and one w/ all.
&gt;
&gt; I think having one with no args is good as well. The problem with having
one with only required args is that java doesn't have keyword arguments. So,
if you have a struct with several required members, you're going to have
"new Foo(a,b,c,d,e,f)" for example. If the order (or names) of fields
changes or something, you can break your app without generating a
compilation error, whereas if you're using explicit setters, you'll catch
it.

-Todd

rule of thumb: if it breaks cassandra, it's a bug. :)
&gt;
&gt; On Thu, Dec 3, 2009 at 12:36 PM, Gary Dusbabek &lt;gdusbabek@gmail.com&gt;
&gt; wrote:
&gt; &gt; 2009/12/3 Ted Zlatanov &lt;tzz@lifelogs.com&gt;:
&gt; &gt;&gt; On Thu, 3 Dec 2009 06:42:27 -0600 Gary Dusbabek &lt;gdusbabek@gmail.com&gt;
&gt; wrote:
&gt; &gt;&gt;
&gt; &gt;&gt; GD&gt; This seems to be a Thrift regression.  It is failing to generate any
&gt; &gt;&gt; GD&gt; but the no-arg constructors.  I saw this about a week ago but never
&gt; &gt;&gt; GD&gt; got around to filing a Thrift ticket against it.
&gt; &gt;&gt;
&gt; &gt;&gt; GD&gt; Your best bet, other than rolling back to an older version of
&gt; thrift,
&gt; &gt;&gt; GD&gt; is to add the constructors yourself from the old code.
&gt; &gt;&gt;
&gt; &gt;&gt; I could also file a Thrift bug.  Or are you implying you'll do it?
&gt; &gt;
&gt; &gt; If it is a bug.  I never made time to do the research, but here is
&gt; &gt; what seems to be happening...
&gt; &gt;
&gt; &gt; Optional members are not included in the constructor, required members
&gt; &gt; are.  I'm not sure if they ever were, and the constructors were just
&gt; &gt; manually added after generation or not.
&gt; &gt;
&gt; &gt; E.g.,
&gt; &gt;
&gt; &gt; struct ColumnParent1 {
&gt; &gt;    3: required string column_family,
&gt; &gt;    4: optional binary super_column,
&gt; &gt; }
&gt; &gt;
&gt; &gt; generates:
&gt; &gt;
&gt; &gt;  public ColumnParent1(String column_family)
&gt; &gt;  {
&gt; &gt;    this();
&gt; &gt;    this.column_family = column_family;
&gt; &gt;  }
&gt; &gt;
&gt; &gt; whereas:
&gt; &gt;
&gt; &gt; struct ColumnParent3 {
&gt; &gt;    3: required string column_family,
&gt; &gt;    4: required binary super_column,
&gt; &gt; }
&gt; &gt;
&gt; &gt; generates:
&gt; &gt;
&gt; &gt;  public ColumnParent3(String column_family, byte[] super_column)
&gt; &gt;  {
&gt; &gt;    this();
&gt; &gt;    this.column_family = column_family;
&gt; &gt;    this.super_column = super_column;
&gt; &gt;  }
&gt; &gt;
&gt; &gt;
&gt; &gt; Changing the optional fields to required solves the problem and
&gt; &gt; creates the necessary constructors, or the required constructors can
&gt; &gt; be added.
&gt; &gt;
&gt; &gt; Unfortunately, I'm a thrift noob too.  Old-timers, what is the correct
&gt; behavior?
&gt; &gt;
&gt; &gt; Gary.
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails with &quot;ant clean gen-thrift-java build&quot;</title>
<author><name>Jonathan Ellis &lt;jbellis@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3ce06563880912031100u547aedf1i8e1acdc2667ec72e@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06563880912031100u547aedf1i8e1acdc2667ec72e@mail-gmail-com%3e</id>
<updated>2009-12-03T19:00:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
i think historically there has been a no-arg constructor and one w/ all args.

imo correct behavior is one with only req'd args, and one w/ all.

rule of thumb: if it breaks cassandra, it's a bug. :)

On Thu, Dec 3, 2009 at 12:36 PM, Gary Dusbabek &lt;gdusbabek@gmail.com&gt; wrote:
&gt; 2009/12/3 Ted Zlatanov &lt;tzz@lifelogs.com&gt;:
&gt;&gt; On Thu, 3 Dec 2009 06:42:27 -0600 Gary Dusbabek &lt;gdusbabek@gmail.com&gt; wrote:
&gt;&gt;
&gt;&gt; GD&gt; This seems to be a Thrift regression.  It is failing to generate any
&gt;&gt; GD&gt; but the no-arg constructors.  I saw this about a week ago but never
&gt;&gt; GD&gt; got around to filing a Thrift ticket against it.
&gt;&gt;
&gt;&gt; GD&gt; Your best bet, other than rolling back to an older version of thrift,
&gt;&gt; GD&gt; is to add the constructors yourself from the old code.
&gt;&gt;
&gt;&gt; I could also file a Thrift bug.  Or are you implying you'll do it?
&gt;
&gt; If it is a bug.  I never made time to do the research, but here is
&gt; what seems to be happening...
&gt;
&gt; Optional members are not included in the constructor, required members
&gt; are.  I'm not sure if they ever were, and the constructors were just
&gt; manually added after generation or not.
&gt;
&gt; E.g.,
&gt;
&gt; struct ColumnParent1 {
&gt;    3: required string column_family,
&gt;    4: optional binary super_column,
&gt; }
&gt;
&gt; generates:
&gt;
&gt;  public ColumnParent1(String column_family)
&gt;  {
&gt;    this();
&gt;    this.column_family = column_family;
&gt;  }
&gt;
&gt; whereas:
&gt;
&gt; struct ColumnParent3 {
&gt;    3: required string column_family,
&gt;    4: required binary super_column,
&gt; }
&gt;
&gt; generates:
&gt;
&gt;  public ColumnParent3(String column_family, byte[] super_column)
&gt;  {
&gt;    this();
&gt;    this.column_family = column_family;
&gt;    this.super_column = super_column;
&gt;  }
&gt;
&gt;
&gt; Changing the optional fields to required solves the problem and
&gt; creates the necessary constructors, or the required constructors can
&gt; be added.
&gt;
&gt; Unfortunately, I'm a thrift noob too.  Old-timers, what is the correct behavior?
&gt;
&gt; Gary.
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails with &quot;ant clean gen-thrift-java build&quot;</title>
<author><name>Gary Dusbabek &lt;gdusbabek@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c1c6fcff0912031036v2b60fbccr8baf77e2b2266129@mail.gmail.com%3e"/>
<id>urn:uuid:%3c1c6fcff0912031036v2b60fbccr8baf77e2b2266129@mail-gmail-com%3e</id>
<updated>2009-12-03T18:36:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
2009/12/3 Ted Zlatanov &lt;tzz@lifelogs.com&gt;:
&gt; On Thu, 3 Dec 2009 06:42:27 -0600 Gary Dusbabek &lt;gdusbabek@gmail.com&gt; wrote:
&gt;
&gt; GD&gt; This seems to be a Thrift regression.  It is failing to generate any
&gt; GD&gt; but the no-arg constructors.  I saw this about a week ago but never
&gt; GD&gt; got around to filing a Thrift ticket against it.
&gt;
&gt; GD&gt; Your best bet, other than rolling back to an older version of thrift,
&gt; GD&gt; is to add the constructors yourself from the old code.
&gt;
&gt; I could also file a Thrift bug.  Or are you implying you'll do it?

If it is a bug.  I never made time to do the research, but here is
what seems to be happening...

Optional members are not included in the constructor, required members
are.  I'm not sure if they ever were, and the constructors were just
manually added after generation or not.

E.g.,

struct ColumnParent1 {
    3: required string column_family,
    4: optional binary super_column,
}

generates:

 public ColumnParent1(String column_family)
  {
    this();
    this.column_family = column_family;
  }

whereas:

struct ColumnParent3 {
    3: required string column_family,
    4: required binary super_column,
}

generates:

  public ColumnParent3(String column_family, byte[] super_column)
  {
    this();
    this.column_family = column_family;
    this.super_column = super_column;
  }


Changing the optional fields to required solves the problem and
creates the necessary constructors, or the required constructors can
be added.

Unfortunately, I'm a thrift noob too.  Old-timers, what is the correct behavior?

Gary.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails with &quot;ant clean gen-thrift-java build&quot;</title>
<author><name>Ted Zlatanov &lt;tzz@lifelogs.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c87k4x4gmkl.fsf@lifelogs.com%3e"/>
<id>urn:uuid:%3c87k4x4gmkl-fsf@lifelogs-com%3e</id>
<updated>2009-12-03T14:27:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, 3 Dec 2009 06:42:27 -0600 Gary Dusbabek &lt;gdusbabek@gmail.com&gt; wrote: 

GD&gt; This seems to be a Thrift regression.  It is failing to generate any
GD&gt; but the no-arg constructors.  I saw this about a week ago but never
GD&gt; got around to filing a Thrift ticket against it.

GD&gt; Your best bet, other than rolling back to an older version of thrift,
GD&gt; is to add the constructors yourself from the old code.

I could also file a Thrift bug.  Or are you implying you'll do it?

Ted



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails with &quot;ant clean gen-thrift-java build&quot;</title>
<author><name>Gary Dusbabek &lt;gdusbabek@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c1c6fcff0912030442r6c50d782pbe257e2d42d20683@mail.gmail.com%3e"/>
<id>urn:uuid:%3c1c6fcff0912030442r6c50d782pbe257e2d42d20683@mail-gmail-com%3e</id>
<updated>2009-12-03T12:42:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
This seems to be a Thrift regression.  It is failing to generate any
but the no-arg constructors.  I saw this about a week ago but never
got around to filing a Thrift ticket against it.

Your best bet, other than rolling back to an older version of thrift,
is to add the constructors yourself from the old code.

Gary.


2009/12/1 Ted Zlatanov &lt;tzz@lifelogs.com&gt;:
&gt; I am getting this error with a fresh SVN checkout (but not if I just do
&gt; a build).  Am I missing something?  Reading the Ant build.xml didn't
&gt; help, I don't see a better way to generate the bindings.  I thought it
&gt; was my auth work but this happens from SVN as well (I need to regenerate
&gt; the Thrift bindings because I provide extra methods and exceptions).
&gt;
&gt; Sorry if this is an obvious thing, it's my first time using Thrift...
&gt;
&gt; Thanks
&gt; Ted
&gt;
&gt;&gt; ant clean gen-thrift-java build
&gt;
&gt; Buildfile: build.xml
&gt;
&gt; clean:
&gt;   [delete] Deleting directory /home/tzz/source/cassandra-trunk/build
&gt;   [delete] Deleting directory /home/tzz/source/cassandra-trunk/src/gen-java
&gt;
&gt; gen-thrift-java:
&gt;     [echo] Generating Thrift Java code from /home/tzz/source/cassandra-trunk/interface/cassandra.thrift
....
&gt;
&gt; build-subprojects:
&gt;
&gt; init:
&gt;    [mkdir] Created dir: /home/tzz/source/cassandra-trunk/build/classes
&gt;    [mkdir] Created dir: /home/tzz/source/cassandra-trunk/build/test/classes
&gt;    [mkdir] Created dir: /home/tzz/source/cassandra-trunk/src/gen-java
&gt;
&gt; check-gen-cli-grammar:
&gt;
&gt; gen-cli-grammar:
&gt;     [echo] Building Grammar /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/cli/Cli.g
 ....
&gt;
&gt; build-project:
&gt;     [echo] apache-cassandra-incubating: /home/tzz/source/cassandra-trunk/build.xml
&gt;    [javac] Compiling 246 source files to /home/tzz/source/cassandra-trunk/build/classes
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/cli/CliClient.java:135:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnParent(java.lang.String,&lt;nulltype&gt;)
&gt;    [javac] location: class org.apache.cassandra.service.ColumnParent
&gt;    [javac]                 List&lt;ColumnOrSuperColumn&gt; columns = thriftClient_.get_slice(tableName,
key, new ColumnParent(columnFamily, null), new SlicePredicate(null, range), ConsistencyLevel.ONE);
&gt;    [javac]                                                                          
                  ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/cli/CliClient.java:135:
cannot find symbol
&gt;    [javac] symbol  : constructor SlicePredicate(&lt;nulltype&gt;,org.apache.cassandra.service.SliceRange)
&gt;    [javac] location: class org.apache.cassandra.service.SlicePredicate
&gt;    [javac]                 List&lt;ColumnOrSuperColumn&gt; columns = thriftClient_.get_slice(tableName,
key, new ColumnParent(columnFamily, null), new SlicePredicate(null, range), ConsistencyLevel.ONE);
&gt;    [javac]                                                                          
                                                        ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/cli/CliClient.java:162:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnPath(java.lang.String,&lt;nulltype&gt;,byte[])
&gt;    [javac] location: class org.apache.cassandra.service.ColumnPath
&gt;    [javac]                 cosc = thriftClient_.get(tableName, key, new ColumnPath(columnFamily,
null, columnName.getBytes("UTF-8")), ConsistencyLevel.ONE);
&gt;    [javac]                                                          ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/cli/CliClient.java:205:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnPath(java.lang.String,&lt;nulltype&gt;,byte[])
&gt;    [javac] location: class org.apache.cassandra.service.ColumnPath
&gt;    [javac]                 thriftClient_.insert(tableName, key, new ColumnPath(columnFamily,
null, columnName.getBytes("UTF-8")),
&gt;    [javac]                                                      ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/db/RangeSliceCommand.java:93:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnParent(java.lang.String,byte[])
&gt;    [javac] location: class org.apache.cassandra.service.ColumnParent
&gt;    [javac]              new ColumnParent(cmd.column_family, cmd.super_column),
&gt;    [javac]              ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/db/RangeSliceCommand.java:174:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnParent(java.lang.String,byte[])
&gt;    [javac] location: class org.apache.cassandra.service.ColumnParent
&gt;    [javac]                                      new ColumnParent(column_family, super_column),
&gt;    [javac]                                      ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/service/CassandraServer.java:137:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnOrSuperColumn(org.apache.cassandra.service.Column,&lt;nulltype&gt;)
&gt;    [javac] location: class org.apache.cassandra.service.ColumnOrSuperColumn
&gt;    [javac]             thriftColumns.add(new ColumnOrSuperColumn(thrift_column, null));
&gt;    [javac]                               ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/service/CassandraServer.java:158:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnOrSuperColumn(&lt;nulltype&gt;,org.apache.cassandra.service.SuperColumn)
&gt;    [javac] location: class org.apache.cassandra.service.ColumnOrSuperColumn
&gt;    [javac]             thriftSuperColumns.add(new ColumnOrSuperColumn(null, superColumn));
&gt;    [javac]                                    ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/service/CassandraServer.java:344:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnOrSuperColumn(org.apache.cassandra.service.Column,&lt;nulltype&gt;)
&gt;    [javac] location: class org.apache.cassandra.service.ColumnOrSuperColumn
&gt;    [javac]                                           ? new ColumnOrSuperColumn(new Column(column.name(),
column.value(), column.timestamp()), null)
&gt;    [javac]                                             ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/service/CassandraServer.java:345:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnOrSuperColumn(&lt;nulltype&gt;,org.apache.cassandra.service.SuperColumn)
&gt;    [javac] location: class org.apache.cassandra.service.ColumnOrSuperColumn
&gt;    [javac]                                           : new ColumnOrSuperColumn(null,
new SuperColumn(column.name(), thriftifySubColumns(column.getSubColumns())));
&gt;    [javac]                                             ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/service/CassandraServer.java:433:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnPath(java.lang.String,&lt;nulltype&gt;,byte[])
&gt;    [javac] location: class org.apache.cassandra.service.ColumnPath
&gt;    [javac]                     ThriftValidation.validateColumnPath(keyspace, new ColumnPath(cfName,
null, cosc.column.name));
&gt;    [javac]                                                                   ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/service/CassandraServer.java:439:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnPath(java.lang.String,byte[],byte[])
&gt;    [javac] location: class org.apache.cassandra.service.ColumnPath
&gt;    [javac]                         ThriftValidation.validateColumnPath(keyspace, new
ColumnPath(cfName, cosc.super_column.name, c.name));
&gt;    [javac]                                                                       ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/service/CassandraServer.java:591:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnOrSuperColumn(org.apache.cassandra.service.Column,&lt;nulltype&gt;)
&gt;    [javac] location: class org.apache.cassandra.service.ColumnOrSuperColumn
&gt;    [javac]                     svcList.add(new ColumnOrSuperColumn(new org.apache.cassandra.service.Column(col.name(),
col.value(), col.timestamp()), null));
&gt;    [javac]                                 ^
&gt;    [javac] /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/service/CassandraServer.java:598:
cannot find symbol
&gt;    [javac] symbol  : constructor ColumnOrSuperColumn(&lt;nulltype&gt;,org.apache.cassandra.service.SuperColumn)
&gt;    [javac] location: class org.apache.cassandra.service.ColumnOrSuperColumn
&gt;    [javac]                     svcList.add(new ColumnOrSuperColumn(null, new org.apache.cassandra.service.SuperColumn(col.name(),
subCols)));
&gt;    [javac]                                 ^
&gt;    [javac] Note: Some input files use or override a deprecated API.
&gt;    [javac] Note: Recompile with -Xlint:deprecation for details.
&gt;    [javac] Note: Some input files use unchecked or unsafe operations.
&gt;    [javac] Note: Recompile with -Xlint:unchecked for details.
&gt;    [javac] 14 errors
&gt;
&gt; --
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Build failed in Hudson: Cassandra #276</title>
<author><name>Apache Hudson Server &lt;hudson@hudson.zones.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c29905365.5591259843644119.JavaMail.hudson@hudson.zones.apache.org%3e"/>
<id>urn:uuid:%3c29905365-5591259843644119-JavaMail-hudson@hudson-zones-apache-org%3e</id>
<updated>2009-12-03T12:34:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;http://hudson.zones.apache.org/hudson/job/Cassandra/276/changes&gt;

Changes:

[jbellis] account for bootstrapping pending ranges in replication factor assert.  patch by
jbellis for CASSANDRA-593

[eevans] documented CASSANDRA-594 in changelog

[eevans] use JAVA_HOME if set for all unix run scripts

Patch by Kay Kay; reviewed by eevans for CASSANDRA-590

[jbellis] update bmt_example to use new client mode.
patch by jbellis; reviewed by gdusbabek for CASSANDRA-535

[jbellis] improve testing of StorageService init, and fix shutdown of messagingservice.
patch by gdusbabek; reviewed by jbellis for CASSANDRA-535

[jbellis] add StorageService.initClient, which starts up Gossiper without setting a token
or anything other application state.
patch by gdusbabek and jbellis for CASSANDRA-535

[eevans] add count and del commands to CLI

Patch by gabriele renzi; reviewed by eevans for CASSANDRA-594

[eevans] application display name != class name

------------------------------------------
[...truncated 1209 lines...]
    [junit] 	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.unregisterMBean(DebuggableThreadPoolExecutor.java:94)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.shutdownNow(DebuggableThreadPoolExecutor.java:113)
    [junit] 	at org.apache.cassandra.concurrent.SingleThreadedStage.shutdown(SingleThreadedStage.java:88)
    [junit] 	at org.apache.cassandra.concurrent.StageManager.shutdown(StageManager.java:126)
    [junit] 	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:528)
    [junit] 	at org.apache.cassandra.service.StorageService.stopClient(StorageService.java:247)
    [junit] 	at org.apache.cassandra.service.StorageServiceTest.testRegularMode(StorageServiceTest.java:65)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    [junit] 	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] ERROR  unregisterMBean, org.apache.cassandra.concurrent:type=ROW-READ-STAGE
    [junit] javax.management.InstanceNotFoundException: org.apache.cassandra.concurrent:type=ROW-READ-STAGE
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
    [junit] 	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.unregisterMBean(DebuggableThreadPoolExecutor.java:94)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.shutdownNow(DebuggableThreadPoolExecutor.java:113)
    [junit] 	at org.apache.cassandra.concurrent.MultiThreadedStage.shutdown(MultiThreadedStage.java:79)
    [junit] 	at org.apache.cassandra.concurrent.StageManager.shutdown(StageManager.java:126)
    [junit] 	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:528)
    [junit] 	at org.apache.cassandra.service.StorageService.stopClient(StorageService.java:247)
    [junit] 	at org.apache.cassandra.service.StorageServiceTest.testRegularMode(StorageServiceTest.java:65)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    [junit] 	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] ERROR  unregisterMBean, org.apache.cassandra.concurrent:type=STREAM-STAGE
    [junit] javax.management.InstanceNotFoundException: org.apache.cassandra.concurrent:type=STREAM-STAGE
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
    [junit] 	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.unregisterMBean(DebuggableThreadPoolExecutor.java:94)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.shutdownNow(DebuggableThreadPoolExecutor.java:113)
    [junit] 	at org.apache.cassandra.concurrent.SingleThreadedStage.shutdown(SingleThreadedStage.java:88)
    [junit] 	at org.apache.cassandra.concurrent.StageManager.shutdown(StageManager.java:126)
    [junit] 	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:528)
    [junit] 	at org.apache.cassandra.service.StorageService.stopClient(StorageService.java:247)
    [junit] 	at org.apache.cassandra.service.StorageServiceTest.testRegularMode(StorageServiceTest.java:65)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    [junit] 	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] ERROR  unregisterMBean, org.apache.cassandra.concurrent:type=ROW-MUTATION-STAGE
    [junit] javax.management.InstanceNotFoundException: org.apache.cassandra.concurrent:type=ROW-MUTATION-STAGE
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415)
    [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
    [junit] 	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.unregisterMBean(DebuggableThreadPoolExecutor.java:94)
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.shutdownNow(DebuggableThreadPoolExecutor.java:113)
    [junit] 	at org.apache.cassandra.concurrent.MultiThreadedStage.shutdown(MultiThreadedStage.java:79)
    [junit] 	at org.apache.cassandra.concurrent.StageManager.shutdown(StageManager.java:126)
    [junit] 	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:528)
    [junit] 	at org.apache.cassandra.service.StorageService.stopClient(StorageService.java:247)
    [junit] 	at org.apache.cassandra.service.StorageServiceTest.testRegularMode(StorageServiceTest.java:65)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    [junit] 	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] Exception in thread "UDP Selector Manager" java.lang.IndexOutOfBoundsException:
Index: 0, Size: 1
    [junit] 	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    [junit] 	at java.util.ArrayList.get(ArrayList.java:322)
    [junit] 	at net.sourceforge.cobertura.coveragedata.LineData.getJumpData(LineData.java:316)
    [junit] 	at net.sourceforge.cobertura.coveragedata.LineData.touchJump(LineData.java:259)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ClassData.touchJump(ClassData.java:453)
    [junit] 	at org.apache.cassandra.net.SelectorManager.doProcess(SelectorManager.java:159)
    [junit] 	at org.apache.cassandra.net.SelectorManager.run(SelectorManager.java:107)
    [junit] ------------- ---------------- ---------------
    [junit] Exception in thread "Thread-1" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.tools.SSTableExportTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.518 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.tools.SSTableImportTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.429 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.BloomFilterTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 2.184 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.BoundedStatsDequeTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.FBUtilitiesTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.FilterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.369 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more

BUILD FAILED
&lt;http://hudson.zones.apache.org/hudson/job/Cassandra/ws/cassandra/build.xml&gt;:243: Some
test(s) failed.

Total time: 2 minutes 53 seconds
Publishing Javadoc
Archiving artifacts
Recording test results



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: configuration file comments on wiki</title>
<author><name>Bill de hOra &lt;bill@dehora.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c4B16B7D5.9000307@dehora.net%3e"/>
<id>urn:uuid:%3c4B16B7D5-9000307@dehora-net%3e</id>
<updated>2009-12-02T18:54:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
 &gt; As Cassandra matures, our documentation is going to
 &gt; have to become a lot
 &gt; more stable and robust.  If the project had
 &gt; corporate sponsorship, I'd
 &gt; suggest hiring a documentarian


OSS projects can do first rate documentation if the will is there 
(Django and Spring come to mind).  So why not start a doc area in the 
trunk? Sphinx would do the trick nicely.

Bill

Jonathan Mischo wrote:
&gt; Typically you have an example configuration file that has information on 
&gt; the most common options, but doesn't have every single possible 
&gt; configuration option in it, and then official documentation that has 
&gt; deeper discussion of each and examples.  Cassandra doesn't have a 
&gt; documentation project going currently, so the problem, as Jonathan 
&gt; mentioned, is that it's very easy for the documentation and the example 
&gt; config to get out of sync very quickly.
&gt; 
&gt; As Cassandra matures, our documentation is going to have to become a lot 
&gt; more stable and robust.  If the project had corporate sponsorship, I'd 
&gt; suggest hiring a documentarian (I've done this before for 
&gt; projects...it's actually kind of fun), but we don't have sponsorship or 
&gt; money, so it's going to continue to be fairly ad-hoc for a while.  As 
&gt; such, I'd suggest that we pick one place to document and stick to it.
&gt; 
&gt; The only alternative I see would be for one person to volunteer to watch 
&gt; all config file changes and update the wiki in a timely manner.  This 
&gt; can't simply be a "Oh, I'll do that for 0.5" thing, it needs to be an 
&gt; ongoing thing (not eternally, but a long-term commitment would be ideal 
&gt; if you're going to take this on).
&gt; 
&gt; We are definitely approaching a point where we need an official 
&gt; documentarian, at least as the person who handles the structure and 
&gt; standards of documentation, even if they don't have the time/resources 
&gt; to write a lot of the docs (and, in fact, this is where the whole 
&gt; community usually jumps in).
&gt; 
&gt; On Nov 13, 2009, at 12:12 PM, kevin wrote:
&gt; 
&gt;&gt; it will be great to have it in just one place. if it is in two places 
&gt;&gt; it is
&gt;&gt; going to be hard to figure out which is latest and correct.
&gt;&gt;
&gt;&gt;
&gt;&gt; On Fri, Nov 13, 2009 at 8:30 AM, TuxRacer69 &lt;tuxracer69@gmail.com&gt; wrote:
&gt;&gt;
&gt;&gt;&gt; Hi Jonathan,
&gt;&gt;&gt;
&gt;&gt;&gt; That's me. I understand that it can be painful to update.
&gt;&gt;&gt;
&gt;&gt;&gt; However I would say that a project of the size and popularity of 
&gt;&gt;&gt; Cassandra
&gt;&gt;&gt; deserves a dedicated configuration documentation. Also the Wiki format
&gt;&gt;&gt; allows you to make links to other pages which obviously becomes
&gt;&gt;&gt; non-clickable when translated to XML. It allows you to add pictures too
&gt;&gt;&gt; which I plan to do to link the config parameters to an architecture
&gt;&gt;&gt; documentation (wiki).
&gt;&gt;&gt;
&gt;&gt;&gt; As per porting the wiki to 0.5, I volunteer to update the page (or 
&gt;&gt;&gt; create a
&gt;&gt;&gt; 0.5 version of that page);
&gt;&gt;&gt;
&gt;&gt;&gt; what do you think?
&gt;&gt;&gt;
&gt;&gt;&gt; Alex
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Jonathan Ellis wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Hi,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Someone has been industriously improving the documentation of the
&gt;&gt;&gt;&gt; config file settings on the wiki.  I'd rather move that into the
&gt;&gt;&gt;&gt; config file itself though rather than have it get out of date when we
&gt;&gt;&gt;&gt; update things.  (E.g. moving from 0.4 to 0.5 RSN.)
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I'd appreciate it if you could submit a patch for the xml instead.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; -Jonathan
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt; 



</pre>
</div>
</content>
</entry>
<entry>
<title>Build failed in Hudson: Cassandra #275</title>
<author><name>Apache Hudson Server &lt;hudson@hudson.zones.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c11942157.5021259757265609.JavaMail.hudson@hudson.zones.apache.org%3e"/>
<id>urn:uuid:%3c11942157-5021259757265609-JavaMail-hudson@hudson-zones-apache-org%3e</id>
<updated>2009-12-02T12:34:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;http://hudson.zones.apache.org/hudson/job/Cassandra/275/changes&gt;

Changes:

[eevans] update test for new Super4 column family definition

[jbellis] use size of sstables as load, instead of naively counting everything in the data
directories
patch by jbellis; reviewed by Stu Hood for CASSANDRA-554

[eevans] CASSANDRA-591 remove unused setters

------------------------------------------
[...truncated 1030 lines...]
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 12.01 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.dht.RandomPartitionerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.12 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.dht.RangeTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.065 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.gms.ArrivalWindowTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.106 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.gms.GossipDigestTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.io.DataInputBufferTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.062 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.io.SSTableTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.423 sec
    [junit] 
    [junit] Exception in thread "Thread-1" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.locator.RackUnawareStrategyTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.418 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.net.CompactEndPointSerializationHelperTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.359 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] 4
    [junit] /127.0.0.1
    [junit] ------------- ---------------- ---------------
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.service.CassandraServerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.317 sec
    [junit] 
    [junit] Exception in thread "Thread-1" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.service.ReadResponseResolverTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.38 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.tools.SSTableExportTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.549 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.tools.SSTableImportTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.486 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.BloomFilterTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 2.2 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.BoundedStatsDequeTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.FBUtilitiesTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more
    [junit] Testsuite: org.apache.cassandra.utils.FilterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.361 sec
    [junit] 
    [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    [junit] 	at java.io.File.deleteOnExit(File.java:939)
    [junit] 	at net.sourceforge.cobertura.util.FileLocker.&lt;init&gt;(FileLocker.java:80)
    [junit] 	at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
    [junit] 	at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [junit] 	at java.lang.Shutdown.add(Shutdown.java:62)
    [junit] 	at java.lang.System$2.registerShutdownHook(System.java:1146)
    [junit] 	at java.io.DeleteOnExitHook.&lt;clinit&gt;(DeleteOnExitHook.java:20)
    [junit] 	... 5 more

BUILD FAILED
&lt;http://hudson.zones.apache.org/hudson/job/Cassandra/ws/cassandra/build.xml&gt;:243: Some
test(s) failed.

Total time: 2 minutes 50 seconds
Publishing Javadoc
Archiving artifacts
Recording test results



</pre>
</div>
</content>
</entry>
<entry>
<title>Cassandra-filesystem via FUSE</title>
<author><name>Mark Robson &lt;markxr@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3cff1a07b80912012337g1a9d764bxcfdeadfa9dbb47a@mail.gmail.com%3e"/>
<id>urn:uuid:%3cff1a07b80912012337g1a9d764bxcfdeadfa9dbb47a@mail-gmail-com%3e</id>
<updated>2009-12-02T07:37:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hiya,

I can see applications for a Cassandra-backed FUSE filesystem. Has anyone
thought about this much?

Applications would have to not expect POSIX-semantics - but that's ok, the
"simple and stupid" use cases such as copying files, serving via http etc,
would normally be expected to "just work".

Mark


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: build fails with &quot;ant clean gen-thrift-java build&quot;</title>
<author><name>Ted Zlatanov &lt;tzz@lifelogs.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c87k4x6l72a.fsf@lifelogs.com%3e"/>
<id>urn:uuid:%3c87k4x6l72a-fsf@lifelogs-com%3e</id>
<updated>2009-12-01T21:26:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, 01 Dec 2009 14:47:54 -0600 Eric Evans &lt;eevans@rackspace.com&gt; wrote: 

EE&gt; On Tue, 2009-12-01 at 11:36 -0600, Ted Zlatanov wrote:
&gt;&gt; I am getting this error with a fresh SVN checkout (but not if I just do
&gt;&gt; a build).  Am I missing something?  Reading the Ant build.xml didn't
&gt;&gt; help, I don't see a better way to generate the bindings.  I thought it
&gt;&gt; was my auth work but this happens from SVN as well (I need to regenerate
&gt;&gt; the Thrift bindings because I provide extra methods and exceptions).

EE&gt; When/where did your thrift come from? I'm guessing this is either a recent regression

EE&gt; there, or that you're using a version that is too old. FWIW, r808609 seems OK.

I did a fresh SVN checkout this morning and then clean, gen-thrift-java,
build (as the command line shows).  Does that exact same sequence work
for you?  I'm at r885937, the SVN head as of now.

Without regenerating the Thrift stuff, everything works.  The complaint
refers to constructors that should not be possible based on the Thrift
file (but again, it's my first time using Thrift).

Ted



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: stress insert benchmark &amp; cassandra hangup/crash</title>
<author><name>Eric Evans &lt;eevans@rackspace.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-cassandra-dev/200912.mbox/%3c1259702665.19220.48.camel@achilles%3e"/>
<id>urn:uuid:%3c1259702665-19220-48-camel@achilles%3e</id>
<updated>2009-12-01T21:24:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, 2009-12-01 at 15:25 +0200, pavel@kreado.com pop wrote:
&gt; I did simple insert benchmark in java (see code below). It uses 5
&gt; threads to write records in one CF.
&gt; After some point cassandra hangup, then crashes. I use single node
&gt; cassandra installation with commit log on separate hdd.
&gt; 
&gt; Hardware:
&gt; AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
&gt; 4 GB RAM,
&gt; 2xHDD Samsung 1TB 32MB cache 7200RPM

[ ... ]

&gt; After long pause cassandra crashes (i use 1GB for java heap):
&gt; 
&gt; java.lang.OutOfMemoryError: Java heap space
&gt; Dumping heap to java_pid21132.hprof ...
&gt; Heap dump file created [1196864899 bytes in 51.159 secs]
&gt; 
&gt; I tried this testcase on three mashines with latest development
&gt; version
&gt; of cassandra and with 0.4.2. And i got the same problems.

[ ... ]

&gt;           client.insert("suggy",
&gt;                         String.valueOf(i),
&gt;                         cp,
&gt;                        
&gt; "================================================================================".getBytes("UTF-8"),
&gt;                         timestamp,
&gt;                         ConsistencyLevel.ZERO);

With ConsistencyLevel.ZERO writes are completely asynchronous, so one
possibility is that you are simply pushing more writes than the node can
handle and it's getting further and further behind, eventually
exhausting the heap.

You should probably also read
http://wiki.apache.org/cassandra/MemtableThresholds if you haven't
already.

-- 
Eric Evans
eevans@rackspace.com



</pre>
</div>
</content>
</entry>
</feed>
