You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "paul cannon (JIRA)" <ji...@apache.org> on 2010/09/09 22:46:34 UTC
[jira] Created: (CASSANDRA-1490) Expose partitioner and snitch via
JMX
Expose partitioner and snitch via JMX
-------------------------------------
Key: CASSANDRA-1490
URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
Project: Cassandra
Issue Type: New Feature
Components: Core
Affects Versions: 0.6.6, 0.7 beta 2, 0.7.0, 0.7.1, 0.8
Reporter: paul cannon
Priority: Minor
It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
Ex:
org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
-> "org.apache.cassandra.dht.RandomPartitioner"
org.apache.cassandra.service:type=StorageService : getClusterSnitch()
-> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1490) Expose partitioner and snitch via
JMX
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1490:
--------------------------------------
Fix Version/s: 0.7.0
Affects Version/s: (was: 0.8)
(was: 0.7.1)
(was: 0.7.0)
(was: 0.7 beta 2)
(was: 0.6.6)
Component/s: API
Tools
(was: Core)
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Priority: Minor
> Fix For: 0.7.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1490) Expose partitioner and snitch
via JMX
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908047#action_12908047 ]
Gary Dusbabek commented on CASSANDRA-1490:
------------------------------------------
It probably falls into the category of too-much, but we could expose the entire config in a get_config call.
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Priority: Minor
> Fix For: 0.7.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1490) Expose partitioner and snitch
Posted by "Jon Hermes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913752#action_12913752 ]
Jon Hermes commented on CASSANDRA-1490:
---------------------------------------
Note: minor thrift version bump required.
> Expose partitioner and snitch
> -----------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Assignee: Jon Hermes
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: 1490-inthrift.txt, 1490.txt
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1490) Expose partitioner and snitch
via JMX
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907823#action_12907823 ]
Jonathan Ellis commented on CASSANDRA-1490:
-------------------------------------------
does it have to be jmx?
we have describe_partitioner from thrift (in 0.7), we could add describe_snitch as well
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: Core
> Affects Versions: 0.6.6, 0.7 beta 2, 0.7.0, 0.7.1, 0.8
> Reporter: paul cannon
> Priority: Minor
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1490) Expose partitioner and snitch via
JMX
Posted by "Jon Hermes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jon Hermes updated CASSANDRA-1490:
----------------------------------
Attachment: 1490.txt
Methods exposed.
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Assignee: Jon Hermes
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: 1490.txt
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1490) Expose partitioner and snitch
Posted by "Jon Hermes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jon Hermes updated CASSANDRA-1490:
----------------------------------
Attachment: 1490-inthrift.txt
Methods exposed... via Thrift!
> Expose partitioner and snitch
> -----------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Assignee: Jon Hermes
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: 1490-inthrift.txt, 1490.txt
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1490) Expose partitioner and snitch
via JMX
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908161#action_12908161 ]
Jonathan Ellis commented on CASSANDRA-1490:
-------------------------------------------
we expose partitioner so that enterprising clients can route directly to the "right" nodes for local reads rather than incurring the extra hop. snitch only has the justification that it seems odd to have one in jmx and the other not.
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Priority: Minor
> Fix For: 0.7.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1490) Expose partitioner and snitch
via JMX
Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908050#action_12908050 ]
Eric Evans commented on CASSANDRA-1490:
---------------------------------------
bq. we have describe_partitioner from thrift (in 0.7), we could add describe_snitch as well
Except that from a separation-of-concerns standpoint (node management/monitoring vs data query), it belongs in JMX.
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Priority: Minor
> Fix For: 0.7.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1490) Expose partitioner and snitch
via JMX
Posted by "paul cannon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908195#action_12908195 ]
paul cannon commented on CASSANDRA-1490:
----------------------------------------
Fair 'nuf
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Priority: Minor
> Fix For: 0.7.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1490) Expose partitioner and snitch
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1490:
--------------------------------------
Summary: Expose partitioner and snitch (was: Expose partitioner and snitch via JMX)
> Expose partitioner and snitch
> -----------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Assignee: Jon Hermes
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: 1490.txt
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1490) Expose partitioner and snitch
via JMX
Posted by "paul cannon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908088#action_12908088 ]
paul cannon commented on CASSANDRA-1490:
----------------------------------------
bq. Except that from a separation-of-concerns standpoint (node management/monitoring vs data query), it belongs in JMX.
Do you mean that {{describe_partitioner}} doesn't belong in thrift either? Cause it seems like those are nearly the same thing semantically.
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Priority: Minor
> Fix For: 0.7.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CASSANDRA-1490) Expose partitioner and snitch via
JMX
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis reassigned CASSANDRA-1490:
-----------------------------------------
Assignee: Jon Hermes
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Assignee: Jon Hermes
> Priority: Minor
> Fix For: 0.7.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1490) Expose partitioner and snitch
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914967#action_12914967 ]
Hudson commented on CASSANDRA-1490:
-----------------------------------
Integrated in Cassandra #547 (See [https://hudson.apache.org/hudson/job/Cassandra/547/])
add describe_snitch to Thrift api.
patch by jhermes; reviewed by jbellis for CASSANDRA-1490
> Expose partitioner and snitch
> -----------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Assignee: Jon Hermes
> Priority: Minor
> Fix For: 0.7 beta 2
>
> Attachments: 1490-inthrift.txt, 1490.txt
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1490) Expose partitioner and snitch
via JMX
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910915#action_12910915 ]
Jonathan Ellis commented on CASSANDRA-1490:
-------------------------------------------
As mentioned above, we already have partitioner in Thrift, so we don't need it in JMX. I'd like to have the snitch in thrift too for consistency.
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Assignee: Jon Hermes
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: 1490.txt
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1490) Expose partitioner and snitch
via JMX
Posted by "paul cannon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907852#action_12907852 ]
paul cannon commented on CASSANDRA-1490:
----------------------------------------
It most definitely does not have to be JMX. thrift api would be preferable, in fact.
> Expose partitioner and snitch via JMX
> -------------------------------------
>
> Key: CASSANDRA-1490
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1490
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Tools
> Reporter: paul cannon
> Priority: Minor
> Fix For: 0.7.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It would be peachy keen if we could query a running cluster about the Partitioner and Snitch classes in use through some JMX call.
> Ex:
> org.apache.cassandra.service:type=StorageService : getClusterPartitioner()
> -> "org.apache.cassandra.dht.RandomPartitioner"
> org.apache.cassandra.service:type=StorageService : getClusterSnitch()
> -> "org.apache.cassandra.locator.SimpleSnitch"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.