apache / apache/cassandra-ccm

Can't start cluster with more than 1 node in windows for C* version 2.2.5

Open
#458 8 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

I ran the following commands:
ccm create mytest -i 127.0.0. -v 2.2.5
ccm populate -n 2
ccm start --wait-for-binary-proto --quiet-windows

and got the error:
Traceback (most recent call last):
  File "C:\Python27\Scripts\ccm.py", line 74, in
    cmd.run()
  File "C:\Python27\lib\site-packages\ccmlib\cmds\cluster_cmds.py", line 581, in run
    allow_root=self.options.allow_root) is None:
  File "C:\Python27\lib\site-packages\ccmlib\cluster.py", line 308, in start
    node.watch_log_for_alive(other_node, from_mark=mark)
  File "C:\Python27\lib\site-packages\ccmlib\node.py", line 443, in watch_log_for_alive
    self.watch_log_for(tofind, from_mark=from_mark, timeout=timeout, filename=filename)
  File "C:\Python27\lib\site-packages\ccmlib\node.py", line 411, in watch_log_for
    raise TimeoutError(time.strftime("%d %b %Y %H:%M:%S", time.gmtime()) + " [" + self.name + "] Missing: " + str([e.pattern for e in tofind]) + ":\n" + reads[:50] + ".....\nSee {} for remainder".format(filename))
ccmlib.node.TimeoutError: 01 Mar 2016 12:18:02 [node1] Missing: ['127.0.0.2.\* now UP']:
INFO  [main] 2016-03-01 09:15:46,321 YamlConfigura.....
See system.log for remainder

[system.log.txt](https://github.com/pcmanus/ccm/files/152917/system.log.txt)

It works for c\* 2.2.4 though.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Windows cluster setup with Cassandra 2.2.5 using the commands in the issue and inspect system.log.txt. Start in ccmlib/cluster.py at start and ccmlib/node.py at watch_log_for_alive, then compare the behavior with Cassandra 2.2.4. Done means a two-node Cassandra 2.2.5 cluster starts without the missing-node timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
cassandra, python
Domain
cli, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.