cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7899) SSL does not work in cassandra-cli
Date Wed, 01 Oct 2014 17:31:34 GMT

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

Jonathan Ellis commented on CASSANDRA-7899:
-------------------------------------------

[~beobal] to review

> SSL does not work in cassandra-cli
> ----------------------------------
>
>                 Key: CASSANDRA-7899
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7899
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: Linux 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux
> java version "1.7.0_17"
> Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
> [cqlsh 4.1.1 | Cassandra 2.0.10 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
>            Reporter: Zdenek Ott
>            Assignee: Jason Brown
>         Attachments: 7899-v1.txt
>
>
> When specify transport factory parameter '-tf org.apache.cassandra.cli.transport.SSLTransportFactory'
it throws exception, see below, because SSLTransportFactory extends TTransportFactory not
ITransportFactory. 
> Exception in thread "main" java.lang.IllegalArgumentException: Cannot create a transport
factory 'org.apache.cassandra.cli.transport.SSLTransportFactory'.
>         at org.apache.cassandra.cli.CliOptions.validateAndSetTransportFactory(CliOptions.java:288)
>         at org.apache.cassandra.cli.CliOptions.processArgs(CliOptions.java:223)
>         at org.apache.cassandra.cli.CliMain.main(CliMain.java:230)
> Caused by: java.lang.IllegalArgumentException: transport factory 'org.apache.cassandra.cli.transport.SSLTransportFactory'
not derived from ITransportFactory
>         at org.apache.cassandra.cli.CliOptions.validateAndSetTransportFactory(CliOptions.java:282)
>         ... 2 more



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

Mime
View raw message