Re: [VOTE] Release Apache Cassandra 0.8.9

2011-12-14 Thread Sylvain Lebresne
I'm counting 3 binding +1's, 1 other +1 and no -1's. The vote passes.
I'll get the artifacts published.

On Sun, Dec 11, 2011 at 8:28 PM, Vijay  wrote:
> +1
>
> Regards,
> 
>
>
>
> On Sat, Dec 10, 2011 at 6:10 PM, Sylvain Lebresne wrote:
>
>> A second vote in the same day!? I know what you've just though: santa comes
>> early this year.  But no, you're not dreaming: CASSANDRA-3472 (0.8.8)
>> re-enabled cross-DC efficient writes that was mistakenly disabled since
>> pretty
>> much forever, but turns out this code was broken (CASSANDRA-3577,3585).
>> Since
>> that is basically a regression, I propose the following artifacts for
>> release
>> as 0.8.9 to fix it.
>>
>> SVN:
>> https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8@r1212938
>> Artifacts:
>> https://repository.apache.org/content/repositories/orgapachecassandra-319/org/apache/cassandra/apache-cassandra/0.8.9/
>> Staging repository:
>> https://repository.apache.org/content/repositories/orgapachecassandra-319/
>>
>> The artifacts as well as a debian package are also available here:
>> http://people.apache.org/~slebresne/
>>
>> The vote will be open for 72 hours (longer if needed).
>>
>> [1]: http://goo.gl/2HThC (CHANGES.txt)
>> [2]: http://goo.gl/GhcPi (NEWS.txt)
>>


Build failed in Jenkins: Cassandra-quick #178

2011-12-14 Thread Apache Jenkins Server
See 

Changes:

[eevans] use an LRU map for storage of prepared statements

Patch by eevans; reviewed by Rick Shaw for CASSANDRA-2475

[eevans] log CQL queries at TRACE

Patch by eevans; reviewed by Rick Shaw for CASSANDRA-2475

[eevans] refactor for better encapsulation of prepare()

Patch by eevans; reviewed by Rick Shaw for CASSANDRA-2475

[eevans] review-related code-style fixes and cleanups

Patch by eevans; reviewed by Rick Shaw for CASSANDRA-2475

[eevans] compiler generated thrift code for prepared statements

Patch by Rick Shaw; reviewed by eevans for CASSANDRA-2475

[eevans] CQL support for prepared statements

Patch by Rick Shaw; reviewed by eevans for CASSANDRA-2475

--
[...truncated 1814 lines...]
[junit] 
[junit] Testcase: 
testValidatorPrepare(org.apache.cassandra.service.AntiEntropyServiceStandardTest):
Caused an ERROR
[junit] /127.0.0.1:7010 is in use by another process.  Change 
listen_address:storage_port in cassandra.yaml to values that do not conflict 
with other services
[junit] org.apache.cassandra.config.ConfigurationException: /127.0.0.1:7010 
is in use by another process.  Change listen_address:storage_port in 
cassandra.yaml to values that do not conflict with other services
[junit] at 
org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:281)
[junit] at 
org.apache.cassandra.net.MessagingService.listen(MessagingService.java:251)
[junit] at 
org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:487)
[junit] at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:464)
[junit] at 
org.apache.cassandra.service.AntiEntropyServiceTestAbstract.prepare(AntiEntropyServiceTestAbstract.java:80)
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.AntiEntropyServiceStandardTest 
FAILED
[junit] Testsuite: org.apache.cassandra.service.CassandraServerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.584 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.service.ConsistencyLevelTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.028 sec
[junit] 
[junit] - Standard Error -
[junit] ERROR 23:14:03,826 unknown endpoint /127.0.0.2
[junit] ERROR 23:14:03,832 unknown endpoint /127.0.0.2
[junit] -  ---
[junit] Testcase: 
testReadWriteConsistencyChecks(org.apache.cassandra.service.ConsistencyLevelTest):
FAILED
[junit] 
[junit] junit.framework.AssertionFailedError: 
[junit] at 
org.apache.cassandra.service.ConsistencyLevelTest.testReadWriteConsistencyChecks(ConsistencyLevelTest.java:165)
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.ConsistencyLevelTest FAILED
[junit] Testsuite: org.apache.cassandra.service.EmbeddedCassandraServiceTest
[junit] Testsuite: org.apache.cassandra.service.EmbeddedCassandraServiceTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] 
[junit] Testcase: 
org.apache.cassandra.service.EmbeddedCassandraServiceTest:BeforeFirstTest:  
  Caused an ERROR
[junit] Forked Java VM exited abnormally. Please note the time in the 
report does not reflect the time until the VM exit.
[junit] junit.framework.AssertionFailedError: Forked Java VM exited 
abnormally. Please note the time in the report does not reflect the time until 
the VM exit.
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.EmbeddedCassandraServiceTest 
FAILED (crashed)
[junit] Testsuite: org.apache.cassandra.service.InitClientTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.48 sec
[junit] 
[junit] Testcase: 
testInitClientStartup(org.apache.cassandra.service.InitClientTest):   
Caused an ERROR
[junit] /127.0.0.1:7010 is in use by another process.  Change 
listen_address:storage_port in cassandra.yaml to values that do not conflict 
with other services
[junit] org.apache.cassandra.config.ConfigurationException: /127.0.0.1:7010 
is in use by another process.  Change listen_address:storage_port in 
cassandra.yaml to values that do not conflict with other services
[junit] at 
org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:281)
[junit] at 
org.apache.cassandra.net.MessagingService.listen(MessagingService.java:251)
[junit] at 
org.apache.cassandra.service.StorageService.initClient(StorageService.java:369)
[junit] at 
org.apache.cassandra.service.InitClientTest.testInitClientStartup(InitClientTest.java:33)
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.InitClientTest FAILED
[junit] Testsuite: org.apache.cassandra.service.LeaveAndBootstrapTest
[junit] Tests run: 6, Failure

Build failed in Jenkins: Cassandra #1256

2011-12-14 Thread Apache Jenkins Server
See 

Changes:

[eevans] use an LRU map for storage of prepared statements

Patch by eevans; reviewed by Rick Shaw for CASSANDRA-2475

[eevans] log CQL queries at TRACE

Patch by eevans; reviewed by Rick Shaw for CASSANDRA-2475

[eevans] refactor for better encapsulation of prepare()

Patch by eevans; reviewed by Rick Shaw for CASSANDRA-2475

[eevans] review-related code-style fixes and cleanups

Patch by eevans; reviewed by Rick Shaw for CASSANDRA-2475

[eevans] compiler generated thrift code for prepared statements

Patch by Rick Shaw; reviewed by eevans for CASSANDRA-2475

[eevans] CQL support for prepared statements

Patch by Rick Shaw; reviewed by eevans for CASSANDRA-2475

--
[...truncated 2454 lines...]
[junit] org.apache.cassandra.config.ConfigurationException: /127.0.0.1:7010 
is in use by another process.  Change listen_address:storage_port in 
cassandra.yaml to values that do not conflict with other services
[junit] at 
org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:281)
[junit] at 
org.apache.cassandra.net.MessagingService.listen(MessagingService.java:251)
[junit] at 
org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:487)
[junit] at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:464)
[junit] at 
org.apache.cassandra.service.AntiEntropyServiceTestAbstract.prepare(AntiEntropyServiceTestAbstract.java:80)
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.AntiEntropyServiceStandardTest 
FAILED
[junit] Testsuite: org.apache.cassandra.service.CassandraServerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.594 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.service.ConsistencyLevelTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.041 sec
[junit] 
[junit] - Standard Error -
[junit] ERROR 23:39:26,534 unknown endpoint /127.0.0.2
[junit] ERROR 23:39:26,543 unknown endpoint /127.0.0.2
[junit] -  ---
[junit] Testcase: 
testReadWriteConsistencyChecks(org.apache.cassandra.service.ConsistencyLevelTest):
FAILED
[junit] 
[junit] junit.framework.AssertionFailedError: 
[junit] at 
org.apache.cassandra.service.ConsistencyLevelTest.testReadWriteConsistencyChecks(ConsistencyLevelTest.java:165)
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.ConsistencyLevelTest FAILED
[junit] Testsuite: org.apache.cassandra.service.EmbeddedCassandraServiceTest
[junit] Testsuite: org.apache.cassandra.service.EmbeddedCassandraServiceTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] 
[junit] Testcase: 
org.apache.cassandra.service.EmbeddedCassandraServiceTest:BeforeFirstTest:  
  Caused an ERROR
[junit] Forked Java VM exited abnormally. Please note the time in the 
report does not reflect the time until the VM exit.
[junit] junit.framework.AssertionFailedError: Forked Java VM exited 
abnormally. Please note the time in the report does not reflect the time until 
the VM exit.
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.EmbeddedCassandraServiceTest 
FAILED (crashed)
[junit] Testsuite: org.apache.cassandra.service.InitClientTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.49 sec
[junit] 
[junit] Testcase: 
testInitClientStartup(org.apache.cassandra.service.InitClientTest):   
Caused an ERROR
[junit] /127.0.0.1:7010 is in use by another process.  Change 
listen_address:storage_port in cassandra.yaml to values that do not conflict 
with other services
[junit] org.apache.cassandra.config.ConfigurationException: /127.0.0.1:7010 
is in use by another process.  Change listen_address:storage_port in 
cassandra.yaml to values that do not conflict with other services
[junit] at 
org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:281)
[junit] at 
org.apache.cassandra.net.MessagingService.listen(MessagingService.java:251)
[junit] at 
org.apache.cassandra.service.StorageService.initClient(StorageService.java:369)
[junit] at 
org.apache.cassandra.service.InitClientTest.testInitClientStartup(InitClientTest.java:33)
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.InitClientTest FAILED
[junit] Testsuite: org.apache.cassandra.service.LeaveAndBootstrapTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 2.252 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 23:39:32,463 Node /127.0.0.3 'leaving' token mismatch. Long 
network partition?
[junit] -  ---
[junit] Testsuite: org.apache.cassandra

Prepared Statement support (CASSANDRA-2475)

2011-12-14 Thread Eric Evans
Hi all,

Thanks to the hard work of Rick Shaw, prepared statements
(https://issues.apache.org/jira/browse/CASSANDRA-2475) has been
committed to trunk.  However, before you use it, be advised that the
API might be changing in the next few days.

If it does change, it should be limited to moving the bind parameters
from string to bytes, (pending a comparison of the performance).  I'll
send another email with the changes, if any, after the API is expected
to be stable.

Thanks,

-- 
Eric Evans
Acunu | http://www.acunu.com | @acunu


Jenkins build is still unstable: Cassandra-Coverage #190

2011-12-14 Thread Apache Jenkins Server
See