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

By default, start native disable thrift.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Duplicate
    • Fix Version/s: None
    • Component/s: Local/Config
    • Labels:
      None
    • Severity:
      Low
    • Since Version:

      Description

      I noticed today that the default for start_native_transport is false and start_rpc is set to true.

      I think it would be good to be coherent here, so someone commenting or dropping this option from the configuration file would not disable the native protocol.

      For start_rpc:

      https://github.com/apache/cassandra/blob/cassandra-3.11.1/src/java/org/apache/cassandra/config/Config.java#L136

      https://github.com/apache/cassandra/blob/cassandra-3.11.1/conf/cassandra.yaml#L662

      Should probably converge to false.

      For start_native_transport:

      https://github.com/apache/cassandra/blob/cassandra-3.11.1/src/java/org/apache/cassandra/config/Config.java#L152

      https://github.com/apache/cassandra/blob/cassandra-3.11.1/conf/cassandra.yaml#L630

      Should probably converge to true.

      I think this is like this since C* 1.2.5 (default start_native_transport was changed in cassandra.yaml, but not in Config.java), and it is still 'wrong' in the latest versions such as Cassandra 3.11.1.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                arodrime Alain RODRIGUEZ
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: