Build failed in Jenkins: Cassandra-quick #181

2011-12-19 Thread Apache Jenkins Server
See 

Changes:

[slebresne] merge from 1.0

[slebresne] Use separate writer thread in SSTableSimpleUnsortedWriter
patch by slebresne; reviewed by yukim for CASSANDRA-3619

[slebresne] document reference to #1938

--
[...truncated 2041 lines...]
[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:380)
[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: 3.883 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 09:36:54,427 Overriding RING_DELAY to 1000ms
[junit]  WARN 09:36:57,484 Node /127.0.0.3 'leaving' token mismatch. Long 
network partition?
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] 
[junit] Testcase: org.apache.cassandra.service.MoveTest:BeforeFirstTest:
Caused an ERROR
[junit] Timeout occurred. Please note the time in the report does not 
reflect the time until the timeout.
[junit] junit.framework.AssertionFailedError: Timeout occurred. Please note 
the time in the report does not reflect the time until the timeout.
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.MoveTest FAILED (timeout)
[junit] Testsuite: org.apache.cassandra.service.RemoveTest
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.543 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 09:37:59,224 Overriding RING_DELAY to 1000ms
[junit] -  ---
[junit] Testcase: testBadToken(org.apache.cassandra.service.RemoveTest):
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testLocalToken(org.apache.cassandra.service.RemoveTest):  
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testRemoveToken(org.apache.cassandra.service.RemoveTest): 
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:2

Build failed in Jenkins: Cassandra-quick #182

2011-12-19 Thread Apache Jenkins Server
See 

Changes:

[xedin] merge from 1.0

--
[...truncated 2121 lines...]
[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:380)
[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.02 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 09:52:22,618 Overriding RING_DELAY to 1000ms
[junit]  WARN 09:52:24,243 Node /127.0.0.3 'leaving' token mismatch. Long 
network partition?
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] 
[junit] Testcase: org.apache.cassandra.service.MoveTest:BeforeFirstTest:
Caused an ERROR
[junit] Timeout occurred. Please note the time in the report does not 
reflect the time until the timeout.
[junit] junit.framework.AssertionFailedError: Timeout occurred. Please note 
the time in the report does not reflect the time until the timeout.
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.MoveTest FAILED (timeout)
[junit] Testsuite: org.apache.cassandra.service.RemoveTest
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.271 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 09:53:25,617 Overriding RING_DELAY to 1000ms
[junit] -  ---
[junit] Testcase: testBadToken(org.apache.cassandra.service.RemoveTest):
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testLocalToken(org.apache.cassandra.service.RemoveTest):  
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testRemoveToken(org.apache.cassandra.service.RemoveTest): 
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.RemoveTest.setup(RemoveTe

Build failed in Jenkins: Cassandra #1259

2011-12-19 Thread Apache Jenkins Server
See 

Changes:

[xedin] merge from 1.0

[slebresne] merge from 1.0

[slebresne] Use separate writer thread in SSTableSimpleUnsortedWriter
patch by slebresne; reviewed by yukim for CASSANDRA-3619

[slebresne] document reference to #1938

--
[...truncated 2815 lines...]
[junit]  WARN 10:18:54,043 Overriding RING_DELAY to 1000ms
[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:380)
[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: 1.794 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 10:18:55,194 Overriding RING_DELAY to 1000ms
[junit]  WARN 10:18:56,651 Node /127.0.0.3 'leaving' token mismatch. Long 
network partition?
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.355 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 10:18:57,692 Overriding RING_DELAY to 1000ms
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.service.RemoveTest
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.036 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 10:18:59,872 Overriding RING_DELAY to 1000ms
[junit] -  ---
[junit] Testcase: testBadToken(org.apache.cassandra.service.RemoveTest):
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testLocalToken(org.apache.cassandra.service.RemoveTest):  
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testRemoveToken(org.apache.cassandra.service.RemoveTest): 
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Test org.apache.cassandra

Build failed in Jenkins: Cassandra-quick #183

2011-12-19 Thread Apache Jenkins Server
See 

Changes:

[eevans] clean up Term ctors

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

[eevans] index bind markers using parser

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

[eevans] properly report number of markers in a statement

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

[eevans] remove ant builder; restore java builder

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

--
[...truncated 2137 lines...]
[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:380)
[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.276 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 17:06:52,107 Overriding RING_DELAY to 1000ms
[junit]  WARN 17:06:53,929 Node /127.0.0.3 'leaving' token mismatch. Long 
network partition?
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] 
[junit] Testcase: org.apache.cassandra.service.MoveTest:BeforeFirstTest:
Caused an ERROR
[junit] Timeout occurred. Please note the time in the report does not 
reflect the time until the timeout.
[junit] junit.framework.AssertionFailedError: Timeout occurred. Please note 
the time in the report does not reflect the time until the timeout.
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.MoveTest FAILED (timeout)
[junit] Testsuite: org.apache.cassandra.service.RemoveTest
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.328 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 17:07:55,316 Overriding RING_DELAY to 1000ms
[junit] -  ---
[junit] Testcase: testBadToken(org.apache.cassandra.service.RemoveTest):
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testLocalToken(org.apache.cassandra.service.RemoveTest):  
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testRemoveToken(org.apache.cassandra.service.RemoveTest): 
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 ano

Build failed in Jenkins: Cassandra-quick #184

2011-12-19 Thread Apache Jenkins Server
See 

Changes:

[jbellis] clarify that loadNewSSTables doesn't 'rebuild' indexes, just adds 
entries for the new data

--
[...truncated 2172 lines...]
[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:380)
[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: 3.721 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 17:22:57,759 Overriding RING_DELAY to 1000ms
[junit]  WARN 17:23:00,717 Node /127.0.0.3 'leaving' token mismatch. Long 
network partition?
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] 
[junit] Testcase: org.apache.cassandra.service.MoveTest:BeforeFirstTest:
Caused an ERROR
[junit] Timeout occurred. Please note the time in the report does not 
reflect the time until the timeout.
[junit] junit.framework.AssertionFailedError: Timeout occurred. Please note 
the time in the report does not reflect the time until the timeout.
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.MoveTest FAILED (timeout)
[junit] Testsuite: org.apache.cassandra.service.RemoveTest
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.689 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 17:24:02,362 Overriding RING_DELAY to 1000ms
[junit] -  ---
[junit] Testcase: testBadToken(org.apache.cassandra.service.RemoveTest):
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testLocalToken(org.apache.cassandra.service.RemoveTest):  
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testRemoveToken(org.apache.cassandra.service.RemoveTest): 
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

Build failed in Jenkins: Cassandra #1260

2011-12-19 Thread Apache Jenkins Server
See 

Changes:

[eevans] clean up Term ctors

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

[eevans] index bind markers using parser

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

[eevans] properly report number of markers in a statement

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

[eevans] remove ant builder; restore java builder

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

--
[...truncated 2812 lines...]
[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:380)
[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: 3.658 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 17:24:08,301 Overriding RING_DELAY to 1000ms
[junit]  WARN 17:24:11,189 Node /127.0.0.3 'leaving' token mismatch. Long 
network partition?
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] 
[junit] Testcase: org.apache.cassandra.service.MoveTest:BeforeFirstTest:
Caused an ERROR
[junit] Timeout occurred. Please note the time in the report does not 
reflect the time until the timeout.
[junit] junit.framework.AssertionFailedError: Timeout occurred. Please note 
the time in the report does not reflect the time until the timeout.
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.MoveTest FAILED (timeout)
[junit] Testsuite: org.apache.cassandra.service.RemoveTest
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.717 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 17:25:12,850 Overriding RING_DELAY to 1000ms
[junit] -  ---
[junit] Testcase: testBadToken(org.apache.cassandra.service.RemoveTest):
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testLocalToken(org.apache.cassandra.service.RemoveTest):  
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testRemoveToken(org.apache.cassandra.service.RemoveTest): 
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.RemoveTest FAILED
[junit] Testsuite: org.apache.cassandra.service.RowResolver

1.1 freeze approaching

2011-12-19 Thread Jonathan Ellis
Just a reminder that for us to meet our four-month major release
schedule (i.e., 1.1 = Feb 18), we need to code freeze on Jan 18, which
is just about a month away on the calendar but significantly closer in
terms of man-hours as people take holiday vacations.

I've taken a first stab at moving issues to 1.2 that were tagged 1.1
but I'm pretty sure won't be done in time, with 34 issues remaining in
1.1, which is fairly optimistic [1].  Please be aware of the timeline
if you are working on or reviewing one of these tickets, or if you are
planning to volunteer for one before the freeze.

[1] 
https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+CASSANDRA+AND+fixVersion+%3D+%221.1%22+AND+resolution+%3D+Unresolved+ORDER+BY+due+ASC%2C+priority+DESC%2C+created+ASC&mode=hide

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


Re: when a node jumps from joining to normal

2011-12-19 Thread Brandon Williams
On Mon, Dec 19, 2011 at 1:19 AM, 夏帆  wrote:
>     Recently I try to find out when a bootstraping node jumps from
> joinning state to normal. I read the source code related to bootstrap and
> have not found the codes updating the state of the node to be  normal. In
> Bootstrapper.bootStrap(), the code
> "StorageService.instance.finishBootStrapping()" is invokled at last, but
> update of the Application status is not found. I am wondering whether there
> is another thread that will update the status.

StorageService.joinTokenRing does it near the bottom by calling setToken.

-Brandon


Re: Erlang Thrift generator broken?

2011-12-19 Thread Anthony Molinaro
This sort of question should probably be sent to the thrift development list 
but I can answer here that the thrift generator should probably generate a 
different spec (binaries are returned as that is what comes through in the 
packets and the thrift library does not process them).  Please file a bug 
report against the thrift project JIRA.

Thanks

-Anthony

On Dec 18, 2011, at 5:01 PM, Roberto Ostinelli  wrote:

> Dear list,
> 
> I'm building an Erlang CQL client for Cassandra. I'm using Thrift version 
> 0.8.0, and Cassandra 1.0.5. I've generated the Erlang Thrift code with the 
> command:
> thrift --gen erl cassandra/interface/cassandra.thrift
> 
> One of the generate files, cassandra_types.hrl, seems to have incorrect 
> record definitions. To be more precise:
> 
> -record(cqlMetadata, {name_types = dict:new() :: dict(), 
>  value_types = dict:new() :: dict(), 
>  default_name_type = undefined :: string(),
>  default_value_type = undefined :: string()}).
> 
> 
> -record(column, {name = undefined :: string(),
>value = undefined :: string(), 
> timestamp = undefined :: integer(), 
> ttl = undefined :: integer()}).
> 
> For instance, these two records specify string() in name and value columns, 
> but the real returned values from Cassandra are binary(). Haven't tested it 
> yet, but everytime there's a string() specification in this file, it really 
> seems that it should be binary(), which is what thrift calls return from 
> Cassandra.
> 
> Is this the appropriate list where I should report this, or should I do so in 
> some other list dedicated to API development?
> 
> Thank you,
> 
> r.


Build failed in Jenkins: Cassandra #1261

2011-12-19 Thread Apache Jenkins Server
See 

Changes:

[jbellis] clarify that loadNewSSTables doesn't 'rebuild' indexes, just adds 
entries for the new data

--
[...truncated 2796 lines...]
[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:380)
[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: 3.932 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 18:26:01,409 Overriding RING_DELAY to 1000ms
[junit]  WARN 18:26:04,577 Node /127.0.0.3 'leaving' token mismatch. Long 
network partition?
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] 
[junit] Testcase: org.apache.cassandra.service.MoveTest:BeforeFirstTest:
Caused an ERROR
[junit] Timeout occurred. Please note the time in the report does not 
reflect the time until the timeout.
[junit] junit.framework.AssertionFailedError: Timeout occurred. Please note 
the time in the report does not reflect the time until the timeout.
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.MoveTest FAILED (timeout)
[junit] Testsuite: org.apache.cassandra.service.RemoveTest
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.769 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 18:27:06,229 Overriding RING_DELAY to 1000ms
[junit] -  ---
[junit] Testcase: testBadToken(org.apache.cassandra.service.RemoveTest):
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testLocalToken(org.apache.cassandra.service.RemoveTest):  
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testRemoveToken(org.apache.cassandra.service.RemoveTest): 
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.RemoveTest FAI

using Cassandra as distributed cache

2011-12-19 Thread Vladimir Vivien
Hi,
Does anyone links for best practices on using cassandra as a
distributed-datagrid?
Are there commercial datagrid offerings based on cassandra ?
-- 
Vladimir Vivien


Re: using Cassandra as distributed cache

2011-12-19 Thread Jonathan Ellis
This would be a better question for the users list.

On Mon, Dec 19, 2011 at 2:21 PM, Vladimir Vivien
 wrote:
> Hi,
> Does anyone links for best practices on using cassandra as a
> distributed-datagrid?
> Are there commercial datagrid offerings based on cassandra ?
> --
> Vladimir Vivien



-- 
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-0.8 #420

2011-12-19 Thread Apache Jenkins Server
See 

Changes:

[brandonwilliams] TimeUUID support in CassandraStorage.
Patch by brandonwilliams, reviewed by Rick Branson for CASSANDRA-3327

--
[...truncated 2006 lines...]
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.435 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.423 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.611 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.656 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.419 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 7, Failures: 0, Errors: 1, Time elapsed: 2.661 sec
[junit] 
[junit] Testcase: 
testValidatorPrepare(org.apache.cassandra.service.AntiEntropyServiceCounterTest):
 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:237)
[junit] at 
org.apache.cassandra.net.MessagingService.listen(MessagingService.java:210)
[junit] at 
org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:467)
[junit] at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:444)
[junit] at 
org.apache.cassandra.service.AntiEntropyServiceTestAbstract.prepare(AntiEntropyServiceTestAbstract.java:80)
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.AntiEntropyServiceCounterTest 
FAILED
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceStandardTest
[junit] Tests run: 7, Failures: 0, Errors: 1, Time elapsed: 2.756 sec
[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:237)
[junit] at 
org.apache.cassandra.net.MessagingService.listen(MessagingService.java:210)
[junit] at 
org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:467)
[junit] at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:444)
[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.439 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.service.ConsistencyLevelTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.831 sec
[junit] 
[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.423 sec
[junit] 
   

Jenkins build is still unstable: Cassandra-0.8-Coverage #159

2011-12-19 Thread Apache Jenkins Server
See 




Build failed in Jenkins: Cassandra-quick #185

2011-12-19 Thread Apache Jenkins Server
See 

Changes:

[xedin] merge from 1.0

--
[...truncated 2136 lines...]
[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:380)
[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.21 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 01:02:32,231 Overriding RING_DELAY to 1000ms
[junit]  WARN 01:02:34,013 Node /127.0.0.3 'leaving' token mismatch. Long 
network partition?
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] 
[junit] Testcase: org.apache.cassandra.service.MoveTest:BeforeFirstTest:
Caused an ERROR
[junit] Timeout occurred. Please note the time in the report does not 
reflect the time until the timeout.
[junit] junit.framework.AssertionFailedError: Timeout occurred. Please note 
the time in the report does not reflect the time until the timeout.
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.MoveTest FAILED (timeout)
[junit] Testsuite: org.apache.cassandra.service.RemoveTest
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.037 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 01:03:35,339 Overriding RING_DELAY to 1000ms
[junit] -  ---
[junit] Testcase: testBadToken(org.apache.cassandra.service.RemoveTest):
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testLocalToken(org.apache.cassandra.service.RemoveTest):  
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testRemoveToken(org.apache.cassandra.service.RemoveTest): 
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.RemoveTest.setup(RemoveTe

Jenkins build is still unstable: Cassandra-Coverage #192

2011-12-19 Thread Apache Jenkins Server
See 




Build failed in Jenkins: Cassandra #1262

2011-12-19 Thread Apache Jenkins Server
See 

Changes:

[xedin] merge from 1.0

--
[...truncated 2815 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.initClient(StorageService.java:380)
[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.157 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 01:18:30,310 Overriding RING_DELAY to 1000ms
[junit]  WARN 01:18:32,044 Node /127.0.0.3 'leaving' token mismatch. Long 
network partition?
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Testsuite: org.apache.cassandra.service.MoveTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] 
[junit] Testcase: org.apache.cassandra.service.MoveTest:BeforeFirstTest:
Caused an ERROR
[junit] Timeout occurred. Please note the time in the report does not 
reflect the time until the timeout.
[junit] junit.framework.AssertionFailedError: Timeout occurred. Please note 
the time in the report does not reflect the time until the timeout.
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.MoveTest FAILED (timeout)
[junit] Testsuite: org.apache.cassandra.service.RemoveTest
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.325 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 01:19:33,432 Overriding RING_DELAY to 1000ms
[junit] -  ---
[junit] Testcase: testBadToken(org.apache.cassandra.service.RemoveTest):
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testLocalToken(org.apache.cassandra.service.RemoveTest):  
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Testcase: testRemoveToken(org.apache.cassandra.service.RemoveTest): 
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.RemoveTest.setup(RemoveTest.java:74)
[junit] 
[junit] 
[junit] Test org.apache.cassandra.service.RemoveTest FAILED
[junit] Testsuite: org.apache.cassandra.service.RowResolverTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.503 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 01:19:35

Re: when a node jumps from joining to normal

2011-12-19 Thread 夏帆
StorageService.joinTokenRing will only execute bootstrap(token) if the node
boostraps. setToken is executed during a non-bootstrap startup. By the way,
the version of the source codes is 1.0.0-rc1.

On Tue, Dec 20, 2011 at 1:57 AM, Brandon Williams  wrote:

> On Mon, Dec 19, 2011 at 1:19 AM, 夏帆  wrote:
> > Recently I try to find out when a bootstraping node jumps from
> > joinning state to normal. I read the source code related to bootstrap and
> > have not found the codes updating the state of the node to be  normal. In
> > Bootstrapper.bootStrap(), the code
> > "StorageService.instance.finishBootStrapping()" is invokled at last, but
> > update of the Application status is not found. I am wondering whether
> there
> > is another thread that will update the status.
>
> StorageService.joinTokenRing does it near the bottom by calling setToken.
>
> -Brandon
>



-- 
Best Regards!

fan xia

Institute of Massive Computing
Software Engineering Institute
East China Normal University
NO.109(West), Math Building, NO.3663, Zhongshan Road(North), Shanghai, China


Re: when a node jumps from joining to normal

2011-12-19 Thread Brandon Williams
On Mon, Dec 19, 2011 at 7:59 PM, 夏帆  wrote:
> StorageService.joinTokenRing will only execute bootstrap(token) if the node
> boostraps. setToken is executed during a non-bootstrap startup.

Right.  bootstrap(token) is only called for bootstrapping nodes, but
setToken is called either way.

-Brandon


Re: 1.1 freeze approaching

2011-12-19 Thread Radim Kolar



Just a reminder that for us to meet our four-month major release
schedule (i.e., 1.1 = Feb 18),
can you make release cycle slower? its better to have more new features 
and do major upgrades less often. it saves time needed for testing and 
migrations.


Re: 1.1 freeze approaching

2011-12-19 Thread Brandon Williams
On Tue, Dec 20, 2011 at 12:45 AM, Radim Kolar  wrote:
> can you make release cycle slower? its better to have more new features and
> do major upgrades less often. it saves time needed for testing and
> migrations.

http://www.mail-archive.com/dev@cassandra.apache.org/msg01549.html

-Brandon