{"id":19506815,"url":"https://github.com/calvinlfer/compose-cassandra-cluster","last_synced_at":"2025-04-26T02:32:56.839Z","repository":{"id":58359728,"uuid":"101120166","full_name":"calvinlfer/compose-cassandra-cluster","owner":"calvinlfer","description":"A Docker Compose blueprint describing the creation of a 3 node cluster","archived":false,"fork":false,"pushed_at":"2017-08-23T01:06:25.000Z","size":3,"stargazers_count":18,"open_issues_count":0,"forks_count":20,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-05-21T22:50:18.932Z","etag":null,"topics":["cassandra","docker","docker-compose"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calvinlfer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-23T00:40:25.000Z","updated_at":"2023-03-03T18:19:35.000Z","dependencies_parsed_at":"2022-09-21T00:11:44.848Z","dependency_job_id":null,"html_url":"https://github.com/calvinlfer/compose-cassandra-cluster","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinlfer%2Fcompose-cassandra-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinlfer%2Fcompose-cassandra-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinlfer%2Fcompose-cassandra-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinlfer%2Fcompose-cassandra-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calvinlfer","download_url":"https://codeload.github.com/calvinlfer/compose-cassandra-cluster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224023707,"owners_count":17242998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cassandra","docker","docker-compose"],"created_at":"2024-11-10T22:38:29.985Z","updated_at":"2024-11-10T22:38:30.974Z","avatar_url":"https://github.com/calvinlfer.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cassandra Cluster in Docker #\nA `docker-compose` blueprint that describes a 3 node Cassandra cluster.\nIt only exposes important Cassandra ports on the seed node to the host\nmachine. Internally, all of the nodes will be a part of the same Docker\nnetwork and will form a cluster using that Docker network.\n\n## Instructions ##\nIn order to bring up the cluster:\n- Use `docker-compose up` to see the logs of all the containers\n- Use `docker-compose up -d` if you want it to run in the foreground\n\nIn order to clean up the cluster, use `docker-compose down`\n\n## Notes ##\nYou need to make sure that the Docker daemon has enough of resources\notherwise you will encounter exit code 137 (Out of Memory Killer) on\nyour containers.\n\nWhen you create a single node cluster and you try to add more nodes to\nthe cluster, you must add them one by one. This means that you cannot\nhave multiple nodes join the cluster (by pointing to the seed node) at\nthe same time. You must add a cluster, wait for it to join the ring and\nstabilize before you can begin to add another cluster. This is why you\nwill see an additional delay on start up between the non-seed nodes.\nIf you attempt to join a new node whilst stabilization has not yet been\nachieved, you will see an error like this:\n```\nERROR [main] 2017-08-22 23:19:11,055 CassandraDaemon.java:706 - Exception encountered during startup\njava.lang.UnsupportedOperationException: Other bootstrapping/leaving/moving nodes detected, cannot bootstrap while cassandra.consistent.rangemovement is true\n```\n\nThis [article](http://thelastpickle.com/blog/2017/05/23/auto-bootstrapping-part1.html)\ndiscusses the implications of turning `cassandra.consistent.rangemovement`\noff.\n\n### Credits ###\n- [The Last Pickle](http://thelastpickle.com/blog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalvinlfer%2Fcompose-cassandra-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalvinlfer%2Fcompose-cassandra-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalvinlfer%2Fcompose-cassandra-cluster/lists"}