How to connect Cassandra cluster that is running on DCOS, through DBeaver/Devcenter.
Asked
Active
Viewed 298 times
1 Answers
2
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.

janisz
- 6,292
- 4
- 37
- 70
-
The address that you mentioned are private that, which are not accessible. – Guda uma shanker Jun 28 '17 at 08:23
-
In this case you should run one Cassandra node on public Mesos Agent or deploy some kind of proxy to access private nodes. – janisz Jun 28 '17 at 09:16
-
1Can you elaborate this ?How do i Set the public mesos agent as the master. – Guda uma shanker Jun 28 '17 at 09:18