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

docker: binary transport protocol hosts #767

Merged
merged 1 commit into from Dec 15, 2016

Conversation

SlevinBE
Copy link
Contributor

Currently, when using the docker image to run Blueflood, it's impossible to have Blueflood connect to Cassandra when using the datastax driver. Reason for this is that only the CASSANDRA_HOSTS environment variable is set, which is used when using the astyanax driver, but the CASSANDRA_BINXPORT_HOSTS environment variable is not, which is used when using the datastax driver. Therefore Blueflood uses the default defined in CoreConfig.java, which is connecting to "localhost:9042".

This PR solves this by setting the CASSANDRA_BINXPORT_HOSTS environment variable in the docker-entrypoint.sh script.

… with the datastax driver (which uses a binary protocol)
Copy link
Contributor

@shintasmith shintasmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 75.088% when pulling b5f6e26 on Klarrio:docker_binary_protocol_hosts into f8a292a on rackerlabs:master.

@shintasmith shintasmith merged commit e76f716 into rax-maas:master Dec 15, 2016
@SlevinBE SlevinBE deleted the docker_binary_protocol_hosts branch December 15, 2016 18:51
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

Successfully merging this pull request may close these issues.

None yet

3 participants