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

Sam Tunnicliffe edited comment on CASSANDRA-6378 at 12/17/13 2:18 PM:
----------------------------------------------------------------------

Updated patch to remove unnecessary exception handling from SSLTransportFactory


was (Author: beobal):
Removed unnecessary exception handling from SSLTransportFactory

> sstableloader does not support client encryption on Cassandra 2.0
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-6378
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6378
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: David Laube
>            Assignee: Sam Tunnicliffe
>              Labels: client, encryption, ssl, sstableloader
>             Fix For: 2.0.4
>
>         Attachments: 0001-CASSANDRA-6387-Add-SSL-support-to-BulkLoader.patch
>
>
> We have been testing backup/restore from one ring to another and we recently 
> stumbled upon an issue with sstableloader. When client_enc_enable: true, the 
> exception below is generated. However, when client_enc_enable is set to 
> false, the sstableloader is able to get to the point where it is discovers 
> endpoints, connects to stream data, etc.
> ==============BEGIN EXCEPTION==============
> sstableloader --debug -d x.x.x.248,x.x.x.108,x.x.x.113 
> /tmp/import/keyspace_name/columnfamily_name
> Exception in thread "main" java.lang.RuntimeException: Could not retrieve 
> endpoint ranges:
> at 
> org.apache.cassandra.tools.BulkLoader$ExternalClient.init(BulkLoader.java:226)
> at 
> org.apache.cassandra.io.sstable.SSTableLoader.stream(SSTableLoader.java:149)
> at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:68)
> Caused by: org.apache.thrift.transport.TTransportException: Frame size 
> (352518400) larger than max length (16384000)!
> at 
> org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:137)
> at 
> org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
> at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
> at 
> org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:362)
> at 
> org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:284)
> at 
> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:191)
> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
> at 
> org.apache.cassandra.thrift.Cassandra$Client.recv_describe_partitioner(Cassandra.java:1292)
> at 
> org.apache.cassandra.thrift.Cassandra$Client.describe_partitioner(Cassandra.java:1280)
> at 
> org.apache.cassandra.tools.BulkLoader$ExternalClient.init(BulkLoader.java:199)
> ... 2 more
> ==============END EXCEPTION==============



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to