Skip to content

Commit

Permalink
balance container memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickoswald committed Jul 21, 2018
1 parent 7ef064d commit 9325653
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test/resources/sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
environment:
HDFS_USER: ${USER} # use value of environment variable "USER" as Spark owner/operator
SPARK_WORKER_CORES: 1
SPARK_WORKER_MEMORY: 4g
SPARK_WORKER_MEMORY: 1g
links:
- sandbox
- beach
Expand All @@ -66,6 +66,9 @@ services:
- "7199:7199" # JMX
- "9042:9042" # CQL
- "9160:9160" # thrift service
environment:
MAX_HEAP_SIZE: "1G"
HEAP_NEWSIZE: "24M"
beach_node:
image: derrickoswald/cassandra-docker
command: cassandra -f
Expand Down

0 comments on commit 9325653

Please sign in to comment.