apache / apache/cassandra-ccm

Unable to link Homebrew's Cassandra to CCM

Open
#544 6 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

Hello there,
I've installed Cassandra using Homebrew. Everything's working fine, I can create keyspace, tables, I am able to run Spark on Cassandra and the like.

Since I've got another Macbook, I was trying to build a Cassandra cluster. So I've installed Cassandra on the other Macbook as well using Homebrew and I've installed ccm using Homebrew.

Ready for the "create" command, though using the -v flag installs Cassandra again, which I don't fancy. Using the "--install-dir" leads nowhere since I'm experiencing errors of the form

"_PATH HERE_ is not a valid cassandra directory. You must define a cassandra dir or version."

I've tried many paths, all starting from the Homebrew folder (which is "/usr/local/Cellar/cassandra/3.7") so I was wondering whether it is possible to declare Homebrew's Cassandra in Homebrew's CCM.

Kindest Regards

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the ccm create command and its --install-dir handling, then reproduce the failure using the Homebrew Cassandra path described in the issue. Done means ccm can use that existing installation without reinstalling Cassandra and can create the cluster successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
cli, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.