You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/02/02 15:47:29 UTC
[jira] Created: (CASSANDRA-2097) Allow nodetool to attach to local
process
Allow nodetool to attach to local process
-----------------------------------------
Key: CASSANDRA-2097
URL: https://issues.apache.org/jira/browse/CASSANDRA-2097
Project: Cassandra
Issue Type: Improvement
Components: Tools
Reporter: Sylvain Lebresne
Assignee: Sylvain Lebresne
Priority: Minor
Fix For: 0.7.2
When launching multiple nodes on a local host (using loopback aliases), which is useful for testing, I can't get nodetool to connect to the nodes. This patch adds the option to nodetool to attach to a local process (in the manner jconsole) to work around this.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CASSANDRA-2097) Allow nodetool to attach to local
process
Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain Lebresne updated CASSANDRA-2097:
----------------------------------------
Attachment: 0001-Allow-nodetool-to-attach-to-local-process.patch
> Allow nodetool to attach to local process
> -----------------------------------------
>
> Key: CASSANDRA-2097
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2097
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Sylvain Lebresne
> Assignee: Sylvain Lebresne
> Priority: Minor
> Labels: nodetool
> Fix For: 0.7.2
>
> Attachments: 0001-Allow-nodetool-to-attach-to-local-process.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When launching multiple nodes on a local host (using loopback aliases), which is useful for testing, I can't get nodetool to connect to the nodes. This patch adds the option to nodetool to attach to a local process (in the manner jconsole) to work around this.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CASSANDRA-2097) Allow nodetool to attach to
local process
Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989655#comment-12989655 ]
Sylvain Lebresne commented on CASSANDRA-2097:
---------------------------------------------
This uses the Sun Attach API extension and thus may not work on all JVM. The attached patch use Reflection to avoid compilation problems with non-Sun JVM.
> Allow nodetool to attach to local process
> -----------------------------------------
>
> Key: CASSANDRA-2097
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2097
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Sylvain Lebresne
> Assignee: Sylvain Lebresne
> Priority: Minor
> Labels: nodetool
> Fix For: 0.7.2
>
> Attachments: 0001-Allow-nodetool-to-attach-to-local-process.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When launching multiple nodes on a local host (using loopback aliases), which is useful for testing, I can't get nodetool to connect to the nodes. This patch adds the option to nodetool to attach to a local process (in the manner jconsole) to work around this.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CASSANDRA-2097) Allow nodetool to attach to
local process
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989659#comment-12989659 ]
Jonathan Ellis commented on CASSANDRA-2097:
-------------------------------------------
this sounds like a job for
# JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=<public name>"
in cassandra-env.sh?
> Allow nodetool to attach to local process
> -----------------------------------------
>
> Key: CASSANDRA-2097
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2097
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Sylvain Lebresne
> Assignee: Sylvain Lebresne
> Priority: Minor
> Labels: nodetool
> Fix For: 0.7.2
>
> Attachments: 0001-Allow-nodetool-to-attach-to-local-process.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When launching multiple nodes on a local host (using loopback aliases), which is useful for testing, I can't get nodetool to connect to the nodes. This patch adds the option to nodetool to attach to a local process (in the manner jconsole) to work around this.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (CASSANDRA-2097) Allow nodetool to attach to local
process
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-2097.
---------------------------------------
Resolution: Not A Problem
Assignee: (was: Sylvain Lebresne)
> Allow nodetool to attach to local process
> -----------------------------------------
>
> Key: CASSANDRA-2097
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2097
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Sylvain Lebresne
> Priority: Minor
> Labels: nodetool
> Fix For: 0.7.2
>
> Attachments: 0001-Allow-nodetool-to-attach-to-local-process.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When launching multiple nodes on a local host (using loopback aliases), which is useful for testing, I can't get nodetool to connect to the nodes. This patch adds the option to nodetool to attach to a local process (in the manner jconsole) to work around this.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira