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

Still unable to connect from this docker file #2

Open
ankush2394 opened this issue Sep 26, 2021 · 1 comment
Open

Still unable to connect from this docker file #2

ankush2394 opened this issue Sep 26, 2021 · 1 comment

Comments

@ankush2394
Copy link

FROM cassandra:4.0
MAINTAINER me

ADD entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod 777 /usr/local/bin/entrypoint.sh
RUN mkdir scripts
COPY alter.cql scripts/

EXPOSE 9042
CMD ["entrypoint.sh"]

@kirenpillay
Copy link

It could be because the cql version is outdated compared to the latest cassandra version.

bash-4.4$ cqlsh -e "show host"
Connection error: ('Unable to connect to any servers', {'127.0.0.1': ProtocolError("cql_version '3.4.4' is not supported by remote (w/ native protocol). Supported versions: [u'3.4.6']",), '::1': ProtocolError("cql_version '3.4.4' is not supported by remote (w/ native protocol). Supported versions: [u'3.4.6']",)})

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