You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremiah Jordan (Jira)" <ji...@apache.org> on 2026/01/29 17:04:00 UTC

[jira] [Commented] (CASSANDRA-19476) CQL Management API

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

Jeremiah Jordan commented on CASSANDRA-19476:
---------------------------------------------

I see in the PR that a "Native Management Transport" is being added.  One thing we implemented at DataStax when we did our "management api" was to expose the access through a UNIX socket rather than a new TCP/IP port.

[https://github.com/k8ssandra/management-api-for-apache-cassandra/blob/master/management-api-agent-5.1.x/src/main/java/org/apache/cassandra/transport/UnixSocketServer51x.java|https://github.com/k8ssandra/management-api-for-apache-cassandra/blob/master/management-api-agent-5.1.x/src/main/java/org/apache/cassandra/transport/UnixSocketServer51x.java#L39]

If there is going to be another transport added, it may make sense to have that as an option.  The unix socket is nice because it means you can setup the permissions access through the unix layer and then the cassandra process can be accessed securely before setting up other auth inside Cassandra.

> CQL Management API
> ------------------
>
>                 Key: CASSANDRA-19476
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19476
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: CQL/Interpreter, CQL/Syntax, Tool/nodetool
>            Reporter: Maxim Muzafarov
>            Assignee: Maxim Muzafarov
>            Priority: High
>              Labels: CEP-38
>             Fix For: 5.x
>
>
> We want to run management commands via CQL.
> The goals are:
> * To provide a way to run predefined management commands via CQL;
> * To provide a mechanism for retrieving command definitions and metadata via CQL;
> * To provide information on all available management commands via virtual tables;
> * To provide a registry that stores all C* commands and their metadata accordingly;
> * To internal instrumentation and a reasonable plan for migrating cluster management from JMX to CQL, taking into account backward compatibility and adopted deprecation policies;
> The discussion on the ML:
> https://lists.apache.org/thread/pow83q92m666nqtwyw4m3b18nnkgj2y8
> The design document:
> https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-38%3A+CQL+Management+API



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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