cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Goldberg (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-10445) Cassandra-stress throws max frame size error when SSL certification is enabled
Date Mon, 05 Oct 2015 20:10:26 GMT
Sam Goldberg created CASSANDRA-10445:

             Summary: Cassandra-stress throws max frame size error when SSL certification
is enabled
                 Key: CASSANDRA-10445
             Project: Cassandra
          Issue Type: Bug
            Reporter: Sam Goldberg

Running cassandra-stress when SSL is enabled gives the following error and does not finish

cassandra-stress write n=1000000
Exception in thread "main" java.lang.RuntimeException: org.apache.thrift.transport.TTransportException:
Frame size (352518912) larger than max length (15728640)!
    at org.apache.cassandra.stress.settings.StressSettings.getRawThriftClient(
    at org.apache.cassandra.stress.settings.StressSettings.getRawThriftClient(
    at org.apache.cassandra.stress.settings.SettingsSchema.createKeySpacesThrift(
    at org.apache.cassandra.stress.settings.SettingsSchema.createKeySpaces(
    at org.apache.cassandra.stress.settings.StressSettings.maybeCreateKeyspaces(
    at org.apache.cassandra.stress.Stress.main(

I was able to reproduce this issue consistently via the following steps:
1) Spin up 3 node cassandra cluster running 2.1.8
2) Perform cassandra-stress write n=1000000
3) Everything works!
4) Generate keystore and truststore for each node in the cluster and distribute appropriately

5) Modify cassandra.yaml on each node to enable SSL:
    enabled: true
    keystore: /<appropriate directory>
    # require_client_auth: false
    # Set trustore and truststore_password if require_client_auth is true
    truststore:  /<appropriate directory>
    truststore_password: <appropriate password>
    # More advanced defaults below:
    protocol: ssl
6) Restart each node.
7) Perform cassandra-stress write n=1000000
8) Get Frame Size error, cassandra-stress fails

This may be related to CASSANDRA-9325.

This message was sent by Atlassian JIRA

View raw message