You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2016/01/20 10:32:39 UTC

[jira] [Resolved] (CASSANDRA-10935) sstableloader_uppercase_keyspace_name_test is failing on 2.2

     [ https://issues.apache.org/jira/browse/CASSANDRA-10935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Eriksson resolved CASSANDRA-10935.
-----------------------------------------
    Resolution: Fixed

fix from CASSANDRA-10806 backported and committed (this already works on everything 3.0+)

> sstableloader_uppercase_keyspace_name_test is failing on 2.2
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-10935
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10935
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Tools
>            Reporter: Philip Thompson
>            Assignee: Marcus Eriksson
>             Fix For: 2.2.x
>
>
> {{sstable_generation_loading_test.py:TestSSTableGenerationAndLoading.sstableloader_uppercase_keyspace_name_test}} is failing on HEAD on cassandra-2.2. It passes on 2.1 and 3.0.
> The error looks like:
> {code}
> ======================================================================
> ERROR: sstableloader_uppercase_keyspace_name_test (sstable_generation_loading_test.TestSSTableGenerationAndLoading)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/philipthompson/cstar/cassandra-dtest/sstable_generation_loading_test.py", line 122, in sstableloader_uppercase_keyspace_name_test
>     self.load_sstable_with_configuration(ks='"Keyspace1"')
>   File "/Users/philipthompson/cstar/cassandra-dtest/sstable_generation_loading_test.py", line 210, in load_sstable_with_configuration
>     read_and_validate_data(session)
>   File "/Users/philipthompson/cstar/cassandra-dtest/sstable_generation_loading_test.py", line 203, in read_and_validate_data
>     self.assertEquals([str(i), 'col', str(i)], list(rows[0]))
> IndexError: list index out of range
> -------------------- >> begin captured logging << --------------------
> dtest: DEBUG: cluster ccm directory: /var/folders/v3/z4wf_34n1q506_xjdy49gb780000gn/T/dtest-PY1RTe
> dtest: DEBUG: Testing sstableloader with pre_compression=None and post_compression=None
> dtest: DEBUG: creating keyspace and inserting
> dtest: DEBUG: Making a copy of the sstables
> dtest: DEBUG: Wiping out the data and restarting cluster
> cassandra.cluster: WARNING: Host 127.0.0.2 has been marked down
> cassandra.cluster: WARNING: Host 127.0.0.1 has been marked down
> cassandra.cluster: WARNING: Failed to create connection pool for new host 127.0.0.1:
> Traceback (most recent call last):
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/cluster.py", line 1787, in run_add_or_renew_pool
>     new_pool = HostConnection(host, distance, self)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/pool.py", line 297, in __init__
>     self._connection.set_keyspace_blocking(session.keyspace)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/connection.py", line 773, in set_keyspace_blocking
>     raise conn_exc
> ConnectionException: Problem while setting keyspace: InvalidRequest(u'code=2200 [Invalid query] message="Keyspace \'Keyspace1\' does not exist"',)
> cassandra.cluster: WARNING: Failed to create connection pool for new host 127.0.0.2:
> Traceback (most recent call last):
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/cluster.py", line 1787, in run_add_or_renew_pool
>     new_pool = HostConnection(host, distance, self)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/pool.py", line 297, in __init__
>     self._connection.set_keyspace_blocking(session.keyspace)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/connection.py", line 773, in set_keyspace_blocking
>     raise conn_exc
> ConnectionException: Problem while setting keyspace: InvalidRequest(u'code=2200 [Invalid query] message="Keyspace \'Keyspace1\' does not exist"',)
> cassandra.cluster: WARNING: Failed to create connection pool for new host 127.0.0.2:
> Traceback (most recent call last):
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/cluster.py", line 1787, in run_add_or_renew_pool
>     new_pool = HostConnection(host, distance, self)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/pool.py", line 297, in __init__
>     self._connection.set_keyspace_blocking(session.keyspace)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/connection.py", line 773, in set_keyspace_blocking
>     raise conn_exc
> ConnectionException: Problem while setting keyspace: InvalidRequest(u'code=2200 [Invalid query] message="Keyspace \'Keyspace1\' does not exist"',)
> cassandra.cluster: WARNING: Failed to create connection pool for new host 127.0.0.1:
> Traceback (most recent call last):
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/cluster.py", line 1787, in run_add_or_renew_pool
>     new_pool = HostConnection(host, distance, self)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/pool.py", line 297, in __init__
>     self._connection.set_keyspace_blocking(session.keyspace)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/connection.py", line 773, in set_keyspace_blocking
>     raise conn_exc
> ConnectionException: Problem while setting keyspace: InvalidRequest(u'code=2200 [Invalid query] message="Keyspace \'Keyspace1\' does not exist"',)
> cassandra.cluster: WARNING: Failed to create connection pool for new host 127.0.0.2:
> Traceback (most recent call last):
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/cluster.py", line 1787, in run_add_or_renew_pool
>     new_pool = HostConnection(host, distance, self)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/pool.py", line 297, in __init__
>     self._connection.set_keyspace_blocking(session.keyspace)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/connection.py", line 773, in set_keyspace_blocking
>     raise conn_exc
> ConnectionException: Problem while setting keyspace: InvalidRequest(u'code=2200 [Invalid query] message="Keyspace \'Keyspace1\' does not exist"',)
> cassandra.cluster: WARNING: Failed to create connection pool for new host 127.0.0.1:
> Traceback (most recent call last):
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/cluster.py", line 1787, in run_add_or_renew_pool
>     new_pool = HostConnection(host, distance, self)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/pool.py", line 297, in __init__
>     self._connection.set_keyspace_blocking(session.keyspace)
>   File "build/bdist.macosx-10.11-x86_64/egg/cassandra/connection.py", line 773, in set_keyspace_blocking
>     raise conn_exc
> ConnectionException: Problem while setting keyspace: InvalidRequest(u'code=2200 [Invalid query] message="Keyspace \'Keyspace1\' does not exist"',)
> dtest: DEBUG: re-creating the keyspace and column families.
> dtest: DEBUG: Calling sstableloader
> dtest: DEBUG: Reading data back
> {code}
> I expect the issue is just that CASSANDRA-10806 needs backported to 2.2.x.



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