[ 
https://issues.apache.org/jira/browse/CASSANDRA-11687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15384487#comment-15384487
 ] 

Jim Witschey edited comment on CASSANDRA-11687 at 7/19/16 4:55 PM:
-------------------------------------------------------------------

That PR also improved error handling, and here's the error I get running 
locally:

{code}
======================================================================
ERROR: rebuild_test.py:TestRebuild.simple_rebuild_test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mambocab/cstar_src/cassandra-dtest/rebuild_test.py", line 96, in 
simple_rebuild_test
    rebuild()
  File "/home/mambocab/cstar_src/cassandra-dtest/rebuild_test.py", line 88, in 
rebuild
    raise e
NodetoolError: Nodetool command 
'/home/mambocab/.ccm/repository/gitCOLONtrunk/bin/nodetool -h localhost -p 7200 
rebuild dc1' failed; exit status: 1; stdout: nodetool: Unable to find 
sufficient sources for streaming range 
(-3287869951390391138,-1624006824486474209] in keyspace system_auth with 
RF=1.If you want to ignore this, consider using system property 
-Dcassandra.consistent.rangemovement=false.
See 'nodetool help' or 'nodetool help <command>'.

-------------------- >> begin captured logging << --------------------
ccm: INFO: Fetching Cassandra updates...
dtest: DEBUG: cluster ccm directory: /tmp/dtest-QDgw0_
ccm: INFO: Fetching Cassandra updates...
dtest: DEBUG: Done setting configuration options:
{   'num_tokens': None, 'phi_convict_threshold': 5, 'start_rpc': 'true'}
cassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.2 dc2> discovered
cassandra.cluster: WARNING: Host 127.0.0.1 has been marked down
cassandra.pool: INFO: Successful reconnection to 127.0.0.1, marking node up if 
it isn't already
cassandra.cluster: INFO: Host 127.0.0.1 may be up; will prepare queries and 
open connection pool
cassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.1 dc1> discovered
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
{code}

-So, looks like we're calling {{rebuild}} incorrectly.- This shouldn't fail 
this way. The thing to do here, as the error says, may be to set 
{{cassandra.consistent.rangemovement}} to {{false}}.

EDIT: for the record, this was the PR:

https://github.com/riptano/cassandra-dtest/pull/1106


was (Author: mambocab):
That PR also improved error handling, and here's the error I get running 
locally:

{code}
======================================================================
ERROR: rebuild_test.py:TestRebuild.simple_rebuild_test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mambocab/cstar_src/cassandra-dtest/rebuild_test.py", line 96, in 
simple_rebuild_test
    rebuild()
  File "/home/mambocab/cstar_src/cassandra-dtest/rebuild_test.py", line 88, in 
rebuild
    raise e
NodetoolError: Nodetool command 
'/home/mambocab/.ccm/repository/gitCOLONtrunk/bin/nodetool -h localhost -p 7200 
rebuild dc1' failed; exit status: 1; stdout: nodetool: Unable to find 
sufficient sources for streaming range 
(-3287869951390391138,-1624006824486474209] in keyspace system_auth with 
RF=1.If you want to ignore this, consider using system property 
-Dcassandra.consistent.rangemovement=false.
See 'nodetool help' or 'nodetool help <command>'.

-------------------- >> begin captured logging << --------------------
ccm: INFO: Fetching Cassandra updates...
dtest: DEBUG: cluster ccm directory: /tmp/dtest-QDgw0_
ccm: INFO: Fetching Cassandra updates...
dtest: DEBUG: Done setting configuration options:
{   'num_tokens': None, 'phi_convict_threshold': 5, 'start_rpc': 'true'}
cassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.2 dc2> discovered
cassandra.cluster: WARNING: Host 127.0.0.1 has been marked down
cassandra.pool: INFO: Successful reconnection to 127.0.0.1, marking node up if 
it isn't already
cassandra.cluster: INFO: Host 127.0.0.1 may be up; will prepare queries and 
open connection pool
cassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.1 dc1> discovered
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
{code}

So, looks like we're calling {{rebuild}} incorrectly.

EDIT: for the record, this was the PR:

https://github.com/riptano/cassandra-dtest/pull/1106

> dtest failure in rebuild_test.TestRebuild.simple_rebuild_test
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-11687
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11687
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Russ Hatch
>            Assignee: DS Test Eng
>              Labels: dtest
>
> single failure on most recent run (3.0 no-vnode)
> {noformat}
> concurrent rebuild should not be allowed, but one rebuild command should have 
> succeeded.
> {noformat}
> http://cassci.datastax.com/job/cassandra-3.0_novnode_dtest/217/testReport/rebuild_test/TestRebuild/simple_rebuild_test
> Failed on CassCI build cassandra-3.0_novnode_dtest #217



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to