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 version not working #4

Open
ialoft opened this issue Dec 30, 2015 · 0 comments
Open

Cassandra version not working #4

ialoft opened this issue Dec 30, 2015 · 0 comments

Comments

@ialoft
Copy link

ialoft commented Dec 30, 2015

I had some little issue when i tried the quick start guide.

Edited a little bit the Dockerfile.

FROM mashape/docker-java7
MAINTAINER Marco Palladino, [email protected]

ENV CASSANDRA_VERSION 2.2.4

# adding repo to yum
RUN echo -e "[datastax]\nname = DataStax Repo for Apache Cassandra\nbaseurl = http://rpm.datastax.com/community\nenabled = 1\ngpgcheck = 0" > /etc/yum.repos.d/datastax.repo

RUN yum -y install dsc22-$CASSANDRA_VERSION cassandra22-$CASSANDRA_VERSION

RUN sed -i -r -e 's@^rpc_address.*$@rpc_address: 0\.0\.0\.0@' /etc/cassandra/conf/cassandra.yaml
RUN sed -i -r -e 's@^# broadcast_rpc_address.*$@broadcast_rpc_address: 127\.0\.0\.1@' /etc/cassandra/conf/cassandra.yaml

VOLUME ["/var/lib/cassandra", "/etc/cassandra"]

CMD ["cassandra", "-f"]

EXPOSE 22 8888 7000 7001 7199 9042 9160

I send you a pull request asap

@ialoft ialoft changed the title /etc/init.d/cassandra: line 10: /etc/rc.d/init.d/functions: No such file or directory MI Dec 30, 2015
@ialoft ialoft changed the title MI Cassandra version not working Dec 31, 2015
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

1 participant