Was this page helpful?
Caution
You're viewing documentation for an unstable version of ScyllaDB Open Source. Switch to the latest stable version.
getendpoints - <keyspace>
<table>
<key>
- Print the end-points IP or name of the nodes that own the partition key.
Use this command to know which node holds the specific partition key.
For example:
nodetool getendpoints nba player_name Russell
Parameter |
Description |
---|---|
keyspace |
keyspace name |
table |
table name |
key |
partition key |
In a case of a composite partition key, use :
between columns in the key. All columns in the partition key are required.
For example:
cqlsh:mykeyspace> CREATE TABLE superheroes (firstname text, lastname text, age int, PRIMARY KEY ((firstname, lastname)));
nodetool getendpoints mykeyspace superheroes "peter:parker"
ScyllaDB does not support getendpoints for a partition key with a frozen UDT.
Was this page helpful?