diff options
author | Bharath Balasubramanian <bharathb@research.att.com> | 2018-09-18 02:48:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-18 02:48:41 +0000 |
commit | 1c28ca5b696c1c8df24c207fd1235af0b85c4186 (patch) | |
tree | 2ea4dc577eabbf91eb91fdf673d75de06cdfd049 /distribution/cassandra | |
parent | 82c874161df1bc657ed309938cbdd24d6a3294bd (diff) | |
parent | a9efc16e26cd57d69bb2dc691cec01ec842930cc (diff) |
Merge "Update distribution files to support helm charts"
Diffstat (limited to 'distribution/cassandra')
-rw-r--r-- | distribution/cassandra/Dockerfile | 7 | ||||
-rw-r--r-- | distribution/cassandra/cassandra.yaml | 5 |
2 files changed, 4 insertions, 8 deletions
diff --git a/distribution/cassandra/Dockerfile b/distribution/cassandra/Dockerfile index 9405fcb3..fe13322c 100644 --- a/distribution/cassandra/Dockerfile +++ b/distribution/cassandra/Dockerfile @@ -1,9 +1,4 @@ #registry.hub.docker.com/ -FROM library/cassandra:3.0 -RUN mkdir -p /docker-entrypoint-initdb.d && mkdir -p /home/cassandra/.cassandra && chown -R cassandra /home/cassandra +FROM library/cassandra:3.11 COPY cassandra.yaml /etc/cassandra/ -COPY music_single.cql /docker-entrypoint-initdb.d/ -COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh -RUN chmod 755 /usr/local/bin/docker-entrypoint.sh && chown -R cassandra /docker-entrypoint-initdb.d - ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/distribution/cassandra/cassandra.yaml b/distribution/cassandra/cassandra.yaml index d4af64af..fa7c74a6 100644 --- a/distribution/cassandra/cassandra.yaml +++ b/distribution/cassandra/cassandra.yaml @@ -530,7 +530,8 @@ native_transport_port: 9042 # native_transport_max_concurrent_connections_per_ip: -1 # Whether to start the thrift rpc server. -start_rpc: false +#start_rpc: false +start_rpc: true # The address or interface to bind the Thrift RPC service and native transport # server to. @@ -720,7 +721,7 @@ sstable_preemptive_open_interval_in_mb: 50 # How long the coordinator should wait for read operations to complete read_request_timeout_in_ms: 5000 # How long the coordinator should wait for seq or index scans to complete -range_request_timeout_in_ms: 10000 +range_request_timeout_in_ms: 15000 # How long the coordinator should wait for writes to complete write_request_timeout_in_ms: 2000 # How long the coordinator should wait for counter writes to complete |