apache / apache/cassandra-ccm

Connect to node with Database Manager

Open
#704 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
309
PR merge metrics
No merged PRs in 30d

Description

I want to run CQL in a database manager (CLion). So I want to connect to a node, but I can not get it to work. When running vanille Cassandra, I can connect. I tried connecting to 127.0.0.1:9160, but I get this exception:

> The specified database user/password combination is rejected: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:9160 (com.datastax.driver.core.exceptions.TransportException: [/127.0.0.1:9160] Channel has been closed))

`ccm status` output:

> Cluster: 'test'
> ---------------
> node1: UP
> node3: UP
> node2: UP

`ccm node1 ring` output:

> Note: Ownership information does not include topology; for complete information, specify a keyspace
>
> Datacenter: datacenter1
> ==========
> Address Rack Status State Load Owns Token
> 3074457345618258602
> 127.0.0.1 rack1 Up Normal 78,8 KB 33,33% -9223372036854775808
> 127.0.0.2 rack1 Up Normal 78,72 KB 33,33% -3074457345618258603
> 127.0.0.3 rack1 Up Normal 78,67 KB 33,33% 3074457345618258602

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.