apache / apache/cassandra-ccm

node.nodetool should use node's IP, not localhost

Open
#303 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
309
PR merge metrics
No merged PRs in 30d

Description

```
def nodetool(self, cmd, capture_output=True):
env = common.make_cassandra_env(self.get_install_cassandra_root(), self.get_node_cassandra_root())
nodetool = self.get_tool('nodetool')
args = [nodetool, '-h', 'localhost', '-p', str(self.jmx_port)]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the node.nodetool method shown in the issue and inspect how the node's IP address is exposed. Verify the command uses that address instead of localhost while preserving the existing JMX port, then run the relevant project tests or a nodetool invocation against a managed node.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.