Skip to content

Commit

Permalink
make sure the MCAC base directory exists
Browse files Browse the repository at this point in the history
This is needed in support of
k8ssandra/cass-operator#199.
  • Loading branch information
jsanda committed Oct 12, 2021
1 parent 0d0c520 commit 4161d03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ if [ "$1" = 'mgmtapi' ]; then
# ensure newline at end of file
echo "" >> ${CASSANDRA_CONF}/cassandra-env.sh
echo "JVM_OPTS=\"\$JVM_OPTS -javaagent:${MCAC_PATH}/lib/datastax-mcac-agent.jar\"" >> ${CASSANDRA_CONF}/cassandra-env.sh
mkdir -p ${MCAC_PATH}
echo "" >> ${MCAC_PATH}/config/metric-collector.yaml
echo "data_dir_max_size_in_mb: 100" >> ${MCAC_PATH}/config/metric-collector.yaml
fi
Expand Down

0 comments on commit 4161d03

Please sign in to comment.