[
https://issues.apache.org/jira/browse/CASSANDRA-12315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15396096#comment-15396096
]
Philip Thompson commented on CASSANDRA-12315:
---------------------------------------------
{code}
CREATE KEYSPACE client_warnings WITH replication = {'class': 'SimpleStrategy',
'replication_factor': 1};
USE client_warnings;
{code}
is what is failing on cqlsh, on a three node cluster, with the above error. Is
this something we want to consider fixing in cqlsh?
> dtest failure in cqlsh_tests.cqlsh_tests.TestCqlsh.test_client_warnings
> -----------------------------------------------------------------------
>
> Key: CASSANDRA-12315
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12315
> Project: Cassandra
> Issue Type: Test
> Reporter: Sean McCarthy
> Assignee: DS Test Eng
> Labels: cqlsh, dtest
> Attachments: node1.log, node1_debug.log, node1_gc.log, node2.log,
> node2_debug.log, node2_gc.log, node3.log, node3_debug.log, node3_gc.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_dtest/1317/testReport/cqlsh_tests.cqlsh_tests/TestCqlsh/test_client_warnings
> {code}
> Stacktrace
> File "/usr/lib/python2.7/unittest/case.py", line 329, in run
> testMethod()
> File "/home/automaton/cassandra-dtest/tools.py", line 290, in wrapped
> f(obj)
> File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_tests.py", line
> 1424, in test_client_warnings
> self.assertEqual(len(stderr), 0, "Failed to execute cqlsh:
> {}".format(stderr))
> File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
> assertion_func(first, second, msg=msg)
> File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
> raise self.failureException(msg)
> 'Failed to execute cqlsh: <stdin>:3:OperationTimedOut: errors={\'127.0.0.1\':
> \'Client request timeout. See Session.execute[_async](timeout)\'},
> last_host=127.0.0.1\n<stdin>:5:InvalidRequest: Error from server: code=2200
> [Invalid query] message="Keyspace \'client_warnings\' does not
> exist"\n<stdin>:7:InvalidRequest: Error from server: code=2200 [Invalid
> query] message="No keyspace has been specified. USE a keyspace, or explicitly
> specify keyspace.tablename"
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)