You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jay Zhuang (JIRA)" <ji...@apache.org> on 2017/06/03 18:11:04 UTC
[jira] [Commented] (CASSANDRA-13572) describecluster shows
sub-snitch for DynamicEndpointSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-13572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036033#comment-16036033 ]
Jay Zhuang commented on CASSANDRA-13572:
----------------------------------------
Here is the patch: https://github.com/apache/cassandra/compare/trunk...cooldoger:13572-trunk?expand=1
Please review. Example output:
{noformat}
$ nodetool describecluster
Cluster Information:
Name: Test Cluster
Snitch: org.apache.cassandra.locator.DynamicEndpointSnitch
Sub-Snitch: org.apache.cassandra.locator.SimpleSnitch
Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
Schema versions:
59a1610b-0384-337c-a2c5-9c8efaba12be: [127.0.0.1]
{noformat}
> describecluster shows sub-snitch for DynamicEndpointSnitch
> ----------------------------------------------------------
>
> Key: CASSANDRA-13572
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13572
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Jay Zhuang
> Assignee: Jay Zhuang
> Priority: Minor
> Labels: nodetool
> Fix For: 4.0
>
>
> {{nodetool describecluster}} only shows the first level snitch name, if DynamicSnitch is enable, it doesn't give the sub-snitch name, which is also very useful. For example:
> {noformat}
> Cluster Information:
> Name: Test Cluster
> Snitch: org.apache.cassandra.locator.DynamicEndpointSnitch
> Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
> Schema versions:
> 59a1610b-0384-337c-a2c5-9c8efaba12be: [127.0.0.1]
> {noformat}
> It would be better to show sub-snitch name if it's DynamicSnitch.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org