Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cassandra build scripts are missing in recent versions of the HSS sources #18

Open
dreibh opened this issue Oct 23, 2020 · 1 comment
Open

Comments

@dreibh
Copy link
Collaborator

dreibh commented Oct 23, 2020

The Cassandra build scripts are missing in recent versions of the HSS sources:

  • build/tools/build_helper.cassandra
  • scripts/build_cassandra

Since the documentation about building the HSS refers to these scripts, and there seems to be no up-to-date documentation on how to get a Cassandra installation for the HSS (is there such documentation?), it would be very useful to add these files again.

A created a pull requests solving this issue: #17

@nkakouros
Copy link

For anyone hitting up on this issue of setting up Cassandra, here is what you need to do as of writing:

  1. Install cassandra
  2. Edit cassandra.yaml and change endpoint_snitch to GossipingPropertyFileSnitch. Also, if you are installing Cassandra on a host other than the one where you will be installing HSS, the also change occurences of 127.0.0.1 and localhost to the IP address of the machine that will host Cassandra.
  3. Edit cassandra-rackdc.properties and set dc=DC1. You need to do that because Cassandra the cql file that comes with OAI uses DC1 (in capitals) when creating the namespace. Otherwise, you will fail to insert any data such as user info.
  4. Restart cassandra.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants