Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15206

cassandra 4.0 cqlsh not working with jdk 11

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Triage Needed
    • Priority: Urgent
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Tool/cqlsh
    • Labels:
      None
    • Severity:
      Critical
    • Complexity:
      Challenging
    • Platform:
      Java11, OpenJDK

      Description

      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'

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              RamyaK RamyaK
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: