cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Holmberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11951) dtest failure in user_functions_test.TestUserFunctions.test_migration
Date Tue, 05 Jul 2016 20:49:11 GMT

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

Adam Holmberg commented on CASSANDRA-11951:
-------------------------------------------

No, because the schema agreement polling only considers nodes not ignored by the load balancing
policy. Since you have a whitelist for the first, it's going to consider schema agreed immediately,
and not poll the other nodes. You would need to do the DDL in a session with a more inclusive
load balancing policy to ensure that schema settles out (and check [is_schema_agreed|http://datastax.github.io/python-driver/api/cassandra/cluster.html#cassandra.cluster.ResponseFuture.is_schema_agreed]
on the ResultSet).

> dtest failure in user_functions_test.TestUserFunctions.test_migration
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-11951
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11951
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Sean McCarthy
>            Assignee: DS Test Eng
>              Labels: dtest
>         Attachments: node1.log, node1_debug.log, node2.log, node2_debug.log, node3.log,
node3_debug.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_offheap_dtest/234/testReport/user_functions_test/TestUserFunctions/test_migration
> Failed on CassCI build trunk_offheap_dtest #234
> Logs are attached.
> {code}
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 329, in run
>     testMethod()
>   File "/home/automaton/cassandra-dtest/user_functions_test.py", line 50, in test_migration
>     session2.execute("use ks")
>   File "cassandra/cluster.py", line 1706, in cassandra.cluster.Session.execute (cassandra/cluster.c:28532)
>     return self.execute_async(query, parameters, trace, custom_payload, timeout).result()
>   File "cassandra/cluster.py", line 3339, in cassandra.cluster.ResponseFuture.result
(cassandra/cluster.c:62978)
>     raise self._final_exception
> 'Error from server: code=2200 [Invalid query] message="Keyspace \'ks\' does not exist"\n--------------------
>> begin captured logging << --------------------\ndtest: DEBUG: cluster ccm directory:
/mnt/tmp/dtest-1nvamN\ndtest: DEBUG: Custom init_config not found. Setting defaults.\ndtest:
DEBUG: Done setting configuration options:\n{   \'enable_scripted_user_defined_functions\':
\'true\',\n    \'enable_user_defined_functions\': \'true\',\n    \'initial_token\': None,\n
   \'memtable_allocation_type\': \'offheap_objects\',\n    \'num_tokens\': \'32\',\n    \'phi_convict_threshold\':
5}\n--------------------- >> end captured logging << ---------------------'
> {code}



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

Mime
View raw message