cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7603) cqlsh fails to decode blobs
Date Wed, 23 Jul 2014 22:34:39 GMT
Tyler Hobbs created CASSANDRA-7603:
--------------------------------------

             Summary: cqlsh fails to decode blobs
                 Key: CASSANDRA-7603
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7603
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
            Reporter: Tyler Hobbs
            Assignee: Tyler Hobbs
             Fix For: 2.1.0


As described in [PYTHON-101|https://datastax-oss.atlassian.net/browse/PYTHON-101], cqlsh patches
the python driver's deserialization method for BytesType for formatting purposes.  When the
bundled driver was upgraded to 2.1, the patch was not updated to match, resulting in an error
like this:

{noformat}
cqlsh:unicode> select * from test;
Traceback (most recent call last):
  File "/home/ryan/.ccm/repository/git_cassandra-2.1/bin/cqlsh", line 908, in perform_simple_statement
    rows = self.session.execute(statement, trace=self.tracing_enabled)
  File "/home/ryan/.ccm/repository/git_cassandra-2.1/bin/../lib/cassandra-driver-internal-only-2.1.0b1.post.zip/cassandra-driver-2.1.0b1.post/cassandra/cluster.py",
line 1186, in execute
    result = future.result(timeout)
  File "/home/ryan/.ccm/repository/git_cassandra-2.1/bin/../lib/cassandra-driver-internal-only-2.1.0b1.post.zip/cassandra-driver-2.1.0b1.post/cassandra/cluster.py",
line 2610, in result
    raise self._final_exception
TypeError: validate() takes exactly 1 argument (2 given)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message