You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dinesh Joshi (Jira)" <ji...@apache.org> on 2020/02/19 23:42:00 UTC

[jira] [Commented] (CASSANDRA-15206) cassandra 4.0 cqlsh not working with jdk 11

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

Dinesh Joshi commented on CASSANDRA-15206:
------------------------------------------

I can confirm that this happens when you aren't using the bundled driver. {{allow_server_port_discovery}} is a special flag we had added.

> cassandra 4.0 cqlsh not working with jdk 11
> -------------------------------------------
>
>                 Key: CASSANDRA-15206
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15206
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/cqlsh
>            Reporter: RamyaK
>            Priority: Urgent
>
> Im able to start cassandra by compiling the latest git code with OpenJDK11, but facing below error with cqlsh. please suggest.
>  
> Traceback (most recent call last):
>   File "/home/id/cassandra/bin/cqlsh.py", line 2520, in <module>
>     main(*read_options(sys.argv[1:], os.environ))
>   File "/home/id/cassandra/bin/cqlsh.py", line 2498, in main
>     allow_server_port_discovery=options.allow_server_port_discovery)
>   File "/home/id/cassandra/bin/cqlsh.py", line 491, in __init__
>     **kwargs)
>   File "cassandra/cluster.py", line 802, in cassandra.cluster.Cluster.__init__
> TypeError: __init__() got an unexpected keyword argument 'allow_server_port_discovery'



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org