cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksander Stasiak (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-6693) cqlsh fails to insert row with huge blob
Date Wed, 12 Feb 2014 13:54:19 GMT
Aleksander Stasiak created CASSANDRA-6693:

             Summary: cqlsh fails to insert row with huge blob
                 Key: CASSANDRA-6693
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
         Environment: Linux x64, cassandra 2.0.5 python 2.7
            Reporter: Aleksander Stasiak

cqlsh throws: 
Traceback (most recent call last):
  File "/usr/bin/cqlsh", line 903, in perform_statement_untraced
    self.cursor.execute(statement, decoder=decoder)
  File "/usr/share/cassandra/lib/", line
80, in execute
    response = self.get_response(prepared_q, cl)
  File "/usr/share/cassandra/lib/",
line 77, in get_response
    return self.handle_cql_execution_errors(doquery, compressed_q, compress, cl)
  File "/usr/share/cassandra/lib/",
line 96, in handle_cql_execution_errors
    return executor(*args, **kwargs)
  File "/usr/share/cassandra/lib/",
line 1830, in execute_cql3_query
    self.send_execute_cql3_query(query, compression, consistency)
  File "/usr/share/cassandra/lib/",
line 1841, in send_execute_cql3_query
  File "/usr/share/cassandra/lib/",
line 292, in flush
  File "/usr/share/cassandra/lib/",
line 128, in write
    plus = self.handle.send(buff)
error: [Errno 104] Connection reset by peer
while inserting row with blob of size ca 30M. cqlsh then disconnects and prevents from sending
any other query until not restarted. 
I haven't tested what is minimal blob size, that brakes connection. The same cql can be easily
executed with java driver:
of version 2.0.0-rc2

This message was sent by Atlassian JIRA

View raw message