You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ran Tavory (JIRA)" <ji...@apache.org> on 2010/05/10 07:51:47 UTC
[jira] Created: (CASSANDRA-1068) Create a mini admin interface per
each cassandra node
Create a mini admin interface per each cassandra node
-----------------------------------------------------
Key: CASSANDRA-1068
URL: https://issues.apache.org/jira/browse/CASSANDRA-1068
Project: Cassandra
Issue Type: New Feature
Affects Versions: 0.7
Reporter: Ran Tavory
Assignee: Ran Tavory
Priority: Minor
Fix For: 0.7
I've implemented a simple bridge using mx4j that exposes all JMX attributes through an http interface.
This is enabled per node. Simple exposes the existing jmx attributes (and actions) to a browser.
To use it you'll need to add mx4j-tools.jar to your classpath (add it to lib). If mx4j isn't in the classpath the code will skipped and this is not considered as an error, this is normal behavior. We expect users that need that interface to simply copy mx4j-tools.jar into their lib folder and restart the host.
Patch will be attached in a moment.
The default port is 8081. To override that provide e.g. -Dmx4jport=8082
The default listen address is 0.0.0.0. To override that provide -Dmx4jaddress=127.0.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1068) Create a mini admin interface per
each cassandra node
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1068:
--------------------------------------
Assignee: Ran Tavory (was: Jonathan Ellis)
> Create a mini admin interface per each cassandra node
> -----------------------------------------------------
>
> Key: CASSANDRA-1068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1068
> Project: Cassandra
> Issue Type: New Feature
> Affects Versions: 0.7
> Reporter: Ran Tavory
> Assignee: Ran Tavory
> Priority: Minor
> Fix For: 0.7
>
> Attachments: CASSANDRA-1068.patch, MX4J - Agent View.png, MX4J - MBean View-1.png, MX4J - MBean View.png
>
>
> I've implemented a simple bridge using mx4j that exposes all JMX attributes through an http interface.
> This is enabled per node. Simple exposes the existing jmx attributes (and actions) to a browser.
> To use it you'll need to add mx4j-tools.jar to your classpath (add it to lib). If mx4j isn't in the classpath the code will skipped and this is not considered as an error, this is normal behavior. We expect users that need that interface to simply copy mx4j-tools.jar into their lib folder and restart the host.
> Patch will be attached in a moment.
> The default port is 8081. To override that provide e.g. -Dmx4jport=8082
> The default listen address is 0.0.0.0. To override that provide -Dmx4jaddress=127.0.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1068) Create a mini admin interface per
each cassandra node
Posted by "Ran Tavory (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ran Tavory updated CASSANDRA-1068:
----------------------------------
Attachment: CASSANDRA-1068.patch
Patch that implements conditional loading, if mx4j-tools.jar is in the classpath
> Create a mini admin interface per each cassandra node
> -----------------------------------------------------
>
> Key: CASSANDRA-1068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1068
> Project: Cassandra
> Issue Type: New Feature
> Affects Versions: 0.7
> Reporter: Ran Tavory
> Assignee: Ran Tavory
> Priority: Minor
> Fix For: 0.7
>
> Attachments: CASSANDRA-1068.patch
>
>
> I've implemented a simple bridge using mx4j that exposes all JMX attributes through an http interface.
> This is enabled per node. Simple exposes the existing jmx attributes (and actions) to a browser.
> To use it you'll need to add mx4j-tools.jar to your classpath (add it to lib). If mx4j isn't in the classpath the code will skipped and this is not considered as an error, this is normal behavior. We expect users that need that interface to simply copy mx4j-tools.jar into their lib folder and restart the host.
> Patch will be attached in a moment.
> The default port is 8081. To override that provide e.g. -Dmx4jport=8082
> The default listen address is 0.0.0.0. To override that provide -Dmx4jaddress=127.0.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1068) Create a mini admin interface
per each cassandra node
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865832#action_12865832 ]
Gary Dusbabek commented on CASSANDRA-1068:
------------------------------------------
+1.
I changed getAddress() to prefer FBUtilities.getLocalAddress instead of 0.0.0.0.
> Create a mini admin interface per each cassandra node
> -----------------------------------------------------
>
> Key: CASSANDRA-1068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1068
> Project: Cassandra
> Issue Type: New Feature
> Affects Versions: 0.7
> Reporter: Ran Tavory
> Assignee: Ran Tavory
> Priority: Minor
> Fix For: 0.7
>
> Attachments: CASSANDRA-1068.patch, MX4J - Agent View.png, MX4J - MBean View-1.png, MX4J - MBean View.png
>
>
> I've implemented a simple bridge using mx4j that exposes all JMX attributes through an http interface.
> This is enabled per node. Simple exposes the existing jmx attributes (and actions) to a browser.
> To use it you'll need to add mx4j-tools.jar to your classpath (add it to lib). If mx4j isn't in the classpath the code will skipped and this is not considered as an error, this is normal behavior. We expect users that need that interface to simply copy mx4j-tools.jar into their lib folder and restart the host.
> Patch will be attached in a moment.
> The default port is 8081. To override that provide e.g. -Dmx4jport=8082
> The default listen address is 0.0.0.0. To override that provide -Dmx4jaddress=127.0.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1068) Create a mini admin interface
per each cassandra node
Posted by "Masood Mortazavi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885719#action_12885719 ]
Masood Mortazavi commented on CASSANDRA-1068:
---------------------------------------------
In the description it says: . . .
To use it you'll need to add mx4j-tools.jar to your classpath (add it to lib). If mx4j isn't in the classpath the code will skipped and this is not considered as an error, this is normal behavior. We expect users that need that interface to simply copy mx4j-tools.jar into their lib folder and restart the host.
. . . Where are the users supposed to copy it from?
Would the nodetool still work without this jar file in place as suggested?
> Create a mini admin interface per each cassandra node
> -----------------------------------------------------
>
> Key: CASSANDRA-1068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1068
> Project: Cassandra
> Issue Type: New Feature
> Affects Versions: 0.7
> Reporter: Ran Tavory
> Assignee: Ran Tavory
> Priority: Minor
> Fix For: 0.7
>
> Attachments: CASSANDRA-1068.patch, MX4J - Agent View.png, MX4J - MBean View-1.png, MX4J - MBean View.png
>
>
> I've implemented a simple bridge using mx4j that exposes all JMX attributes through an http interface.
> This is enabled per node. Simple exposes the existing jmx attributes (and actions) to a browser.
> To use it you'll need to add mx4j-tools.jar to your classpath (add it to lib). If mx4j isn't in the classpath the code will skipped and this is not considered as an error, this is normal behavior. We expect users that need that interface to simply copy mx4j-tools.jar into their lib folder and restart the host.
> Patch will be attached in a moment.
> The default port is 8081. To override that provide e.g. -Dmx4jport=8082
> The default listen address is 0.0.0.0. To override that provide -Dmx4jaddress=127.0.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1068) Create a mini admin interface
per each cassandra node
Posted by "Ran Tavory (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865663#action_12865663 ]
Ran Tavory commented on CASSANDRA-1068:
---------------------------------------
somewhat remotely related is this https://issues.apache.org/jira/browse/CASSANDRA-918
> Create a mini admin interface per each cassandra node
> -----------------------------------------------------
>
> Key: CASSANDRA-1068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1068
> Project: Cassandra
> Issue Type: New Feature
> Affects Versions: 0.7
> Reporter: Ran Tavory
> Assignee: Ran Tavory
> Priority: Minor
> Fix For: 0.7
>
> Attachments: CASSANDRA-1068.patch
>
>
> I've implemented a simple bridge using mx4j that exposes all JMX attributes through an http interface.
> This is enabled per node. Simple exposes the existing jmx attributes (and actions) to a browser.
> To use it you'll need to add mx4j-tools.jar to your classpath (add it to lib). If mx4j isn't in the classpath the code will skipped and this is not considered as an error, this is normal behavior. We expect users that need that interface to simply copy mx4j-tools.jar into their lib folder and restart the host.
> Patch will be attached in a moment.
> The default port is 8081. To override that provide e.g. -Dmx4jport=8082
> The default listen address is 0.0.0.0. To override that provide -Dmx4jaddress=127.0.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1068) Create a mini admin interface per
each cassandra node
Posted by "Ran Tavory (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ran Tavory updated CASSANDRA-1068:
----------------------------------
Attachment: MX4J - MBean View-1.png
MX4J - MBean View.png
attaching a few more screenshots
> Create a mini admin interface per each cassandra node
> -----------------------------------------------------
>
> Key: CASSANDRA-1068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1068
> Project: Cassandra
> Issue Type: New Feature
> Affects Versions: 0.7
> Reporter: Ran Tavory
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 0.7
>
> Attachments: CASSANDRA-1068.patch, MX4J - Agent View.png, MX4J - MBean View-1.png, MX4J - MBean View.png
>
>
> I've implemented a simple bridge using mx4j that exposes all JMX attributes through an http interface.
> This is enabled per node. Simple exposes the existing jmx attributes (and actions) to a browser.
> To use it you'll need to add mx4j-tools.jar to your classpath (add it to lib). If mx4j isn't in the classpath the code will skipped and this is not considered as an error, this is normal behavior. We expect users that need that interface to simply copy mx4j-tools.jar into their lib folder and restart the host.
> Patch will be attached in a moment.
> The default port is 8081. To override that provide e.g. -Dmx4jport=8082
> The default listen address is 0.0.0.0. To override that provide -Dmx4jaddress=127.0.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1068) Create a mini admin interface per
each cassandra node
Posted by "Ran Tavory (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ran Tavory updated CASSANDRA-1068:
----------------------------------
Attachment: MX4J - Agent View.png
attached screenshot 1
> Create a mini admin interface per each cassandra node
> -----------------------------------------------------
>
> Key: CASSANDRA-1068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1068
> Project: Cassandra
> Issue Type: New Feature
> Affects Versions: 0.7
> Reporter: Ran Tavory
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 0.7
>
> Attachments: CASSANDRA-1068.patch, MX4J - Agent View.png
>
>
> I've implemented a simple bridge using mx4j that exposes all JMX attributes through an http interface.
> This is enabled per node. Simple exposes the existing jmx attributes (and actions) to a browser.
> To use it you'll need to add mx4j-tools.jar to your classpath (add it to lib). If mx4j isn't in the classpath the code will skipped and this is not considered as an error, this is normal behavior. We expect users that need that interface to simply copy mx4j-tools.jar into their lib folder and restart the host.
> Patch will be attached in a moment.
> The default port is 8081. To override that provide e.g. -Dmx4jport=8082
> The default listen address is 0.0.0.0. To override that provide -Dmx4jaddress=127.0.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.