[
https://issues.apache.org/jira/browse/CASSANDRA-13853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16421211#comment-16421211
]
Preetika Tyagi edited comment on CASSANDRA-13853 at 4/1/18 1:41 AM:
--------------------------------------------------------------------
[~rustyrazorblade] I implemented some dtests and below is the sample output:
{code:java}
Stats for all nodes:
Live: 4
Joining: 0
Moving: 0
Leaving: 0
Unreachable: 0
Data Centers:
dc1 #Nodes: 2 #Down: 0
dc2 #Nodes: 2 #Down: 0
Keyspaces:
system_schema -> Replication class: LocalStrategy {}
system -> Replication class: LocalStrategy {}
system_traces -> Replication class: SimpleStrategy {replication_factor=2}
system_distributed -> Replication class: SimpleStrategy
{replication_factor=3}
system_auth -> Replication class: SimpleStrategy {replication_factor=1}
ks1 -> Replication class: NetworkTopologyStrategy {dc2=5, dc1=3}
ks2 -> Replication class: NetworkTopologyStrategy {dc2=5, dc1=3}
Cluster Information:
Name: test
Snitch: org.apache.cassandra.locator.PropertyFileSnitch
DynamicEndPointSnitch: enabled
Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
Schema versions:
f5abf9f8-8cc6-350f-a128-ab97ea43871d: [127.0.0.4, 127.0.0.3, 127.0.0.2,
127.0.0.1]{code}
I am using assertions to validate the output. Let me know if it looks okay. I
will upload the dtests patch to cassandra-dtests soon.
was (Author: pree):
[~rustyrazorblade] I implemented some dtests and below is the sample output:
{code:java}
Stats for all nodes:
Live: 4
Joining: 0
Moving: 0
Leaving: 0
Unreachable: 0
Data Centers:
dc1 #Nodes: 2 #Down: 0
dc2 #Nodes: 2 #Down: 0
Keyspaces:
system_schema -> Replication class: LocalStrategy {}
system -> Replication class: LocalStrategy {}
system_traces -> Replication class: SimpleStrategy {replication_factor=2}
system_distributed -> Replication class: SimpleStrategy
{replication_factor=3}
system_auth -> Replication class: SimpleStrategy {replication_factor=1}
ks1 -> Replication class: NetworkTopologyStrategy {dc2=5, dc1=3}
ks2 -> Replication class: NetworkTopologyStrategy {dc2=5, dc1=3}
Cluster Information:
Name: test
Snitch: org.apache.cassandra.locator.PropertyFileSnitch
DynamicEndPointSnitch: enabled
Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
Schema versions:
f5abf9f8-8cc6-350f-a128-ab97ea43871d: [127.0.0.4, 127.0.0.3, 127.0.0.2,
127.0.0.1]{code}
I implemented tests using assertions to ensure the valid output. Let me know if
it looks okay. I will upload the dtests patch to cassandra-dtests soon.
> nodetool describecluster should be more informative
> ---------------------------------------------------
>
> Key: CASSANDRA-13853
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13853
> Project: Cassandra
> Issue Type: Improvement
> Components: Observability, Tools
> Reporter: Jon Haddad
> Assignee: Preetika Tyagi
> Priority: Minor
> Labels: lhf
> Fix For: 4.x
>
> Attachments: cassandra-13853-v2.patch
>
>
> Additional information we should be displaying:
> * Total node count
> * List of datacenters, RF, with number of nodes per dc, how many are down,
> * Version(s)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]