Git Product home page Git Product logo

Comments (3)

pcmanus avatar pcmanus commented on August 11, 2024

Not sure what to tell you, but I can't reproduce your situation. It did made me notice that --vnodes command was not correctly taken into account (it worked correctly with the shortcut "ccm create test -v 1.2.5 -n 3 --vnodes -s", but not with populate used separately). I've just pushed a simple fix for that. But even with that "bug", the exact same command than above work correctly on my box. I do am on linux however but unfortunately I don't have a Mac to test on that.

The first thing you could do is make sure you're using a recent version of ccm. Then you can try deleting ~/.ccm to make sure you start from a clean state. If it's still not working, maybe have a look at the log files (you can use "ccm showlog node1" or go check in ~/.ccm/test/node1/logs directly) and check in all the ~/.ccm/test/nodeX/conf/cassandra.yaml if the seeds are set (the first node will have just himself, the 2nd node will have 1 and 2, and the third node will have all nodes as seeds (which is slightly unconventional but works and was just slightly simpler for ccm)).

from ccm.

iconara avatar iconara commented on August 11, 2024

Thanks Sylvain, I tried a few different combinations of starting a cluster (everything from the create/populate/start form the readme, through create/add/start and create with --start), they behaved a bit differently. When I used create/populate/start the nodes started, but did not form a cluster, but when I did create with --start only the first node started, and the command hanged. One of the times I tried this I saw a familiar error in the logs, and exception about the snappy extension. I've had problems before with Cassandra on OS X where the snappy library shipped isn't compatible, and causes startup errors. When I swapped in a more recent version of snappy everything worked.

Btw. ccm start --verbose didn't output anything when I ran the setups that just hung, even though it managed to start a Cassandra node.

from ccm.

pcmanus avatar pcmanus commented on August 11, 2024

Not sure why Snappy problems can cause this, but since you've resolved your problem I'm going to call it a day on this issue.

from ccm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.