Guda uma shanker
Guda uma shanker

Reputation: 182

How to connect Cassandra running on DCOS from dbeaver

How to connect Cassandra cluster that is running on DCOS, through DBeaver/Devcenter.

Upvotes: 1

Views: 318

Answers (1)

janisz
janisz

Reputation: 6371

To connect to Cassandra you need to get at least one node. You can do it by asking dcos for all cassandra nodes:

$ dcos cassandra --name=<service-name> connection

{
  "address": [
    "10.0.0.47:9042",
    "10.0.0.50:9042",
    "10.0.0.49:9042"
  ],
  "dns": [
     "node-0.cassandra.mesos:9042",
     "node-1.cassandra.mesos:9042",
     "node-2.cassandra.mesos:9042"
  ]
}

The you can use this IPs and ports to connect.

Upvotes: 2

Related Questions