Re: cassandra pull request: Fix logic for logging a timeout error when Messagin...

2012-08-02 Thread Jonathan Ellis
Hi Chris,

Can you open a ticket at https://issues.apache.org/jira/browse/CASSANDRA ?

On Wed, Aug 1, 2012 at 6:58 PM, canadianveggie  wrote:
> GitHub user canadianveggie opened a pull request:
>
> https://github.com/apache/cassandra/pull/12
>
> Fix logic for logging a timeout error when MessagingService is draining
>
> Fix logic for logging an error if streams don't terminate in 24 hours. 
> Before the logic was backwards. When you called drain, it would log a bunch 
> of incorrect error messages: "Stream took more than 24H to complete; 
> skipping".
>
> ThreadPoolExecutor.awaitTermination returns true if the executor 
> terminates and false if the timeout elapses before termination.
>
> 
> http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ThreadPoolExecutor.html#awaitTermination%28long,%20java.util.concurrent.TimeUnit%29
>
> You can merge this pull request into a Git repository by running:
>
> $ git pull https://github.com/canadianveggie/cassandra trunk
>
> Alternatively you can review and apply these changes as the patch at:
>
> https://github.com/apache/cassandra/pull/12.patch
>
> 
> commit e681a97ff52684df5381270be27ee49708f94dd8
> Author: Christopher Porter 
> Date:   2012-08-01T16:48:48-07:00
>
> Log an error if streams don't terminate in 24 hours (logic was backwards)
> ThreadPoolExecutor.awaitTermination returns true if the executor 
> terminates and false if the timeout elapses before termination.
>
> 
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com


Re: [VOTE] Release Apache Cassandra 1.1.3 (Strike 3)

2012-08-02 Thread Jonathan Ellis
+1

On Thu, Aug 2, 2012 at 1:43 AM, Sylvain Lebresne  wrote:
> Hopefully for the last time I propose the following artifacts for
> release as 1.1.3.
>
> sha1: 94bcc6a6f6171796e3147dec73d71df05c370f94
> Git: 
> http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.1.3-tentative
> Artifacts: 
> https://repository.apache.org/content/repositories/orgapachecassandra-111/org/apache/cassandra/apache-cassandra/1.1.3/
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecassandra-111/
>
> The artifacts as well as the 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/wq0VC (CHANGES.txt)
> [2]: http://goo.gl/AnCo8 (NEWS.txt)



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com


Build failed in Jenkins: Cassandra-quick #1011

2012-08-02 Thread Apache Jenkins Server
See 

--
[...truncated 420 lines...]
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.217 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.BloomFilterTrackerTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.31 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.155 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 6.38 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.742 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 03:53:45,344 open(null, O_RDONLY) failed, errno (14).
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.666 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.098 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.465 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 03:53:59,173 setting live ratio to maximum of 64.0 instead of 
88.195556
[junit]  WARN 03:53:59,340 setting live ratio to maximum of 64.0 instead of 
67.44497607655502
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.711 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.375 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.795 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.987 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.697 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.837 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.353 sec
[junit] 
[junit] - Standard Output ---
[junit] toStream : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetch : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] toStreamExpected : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetchExpected : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.183 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.325 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.685 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 6.179 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 03:54:45,470 No host ID found, created 
58c9a7e8-74de-4823-9052-50d8121a49b2 (Note: This should happen exactly once per 
node).
[junit]  WARN 03:54:45,753 Generated random token 
[Token(bytes[8431b1875cffca1f62e1765875c7a836])]. Random tokens will result in 
an unbalanced ring; see http://wiki.apache.org/cassandra/Operations
[junit] - ---