<commit_before># Run example: docker run --net=nexus --name mesos-agent1 nexusjpl/spark-mesos-agent

FROM nexusjpl/spark-mesos-base

MAINTAINER <NAME> "<EMAIL>"

# Run a Mesos slave.

WORKDIR ${MESOS_HOME}/build

CMD ["/bin/bash", "-c", "./bin/mesos-agent.sh --master=${MESOS_MASTER_NAME}:${MESOS_MASTER_PORT} --port=${MESOS_AGENT_PORT} --work_dir=${MESOS_WORKDIR} --no-systemd_enable_support --launcher=posix --no-switch_user"]
<commit_msg>Passed PYTHON_EGG_CACHE setting to mesos executors with --executor_environment_variables option.<commit_after># Run example: docker run --net=nexus --name mesos-agent1 nexusjpl/spark-mesos-agent

FROM nexusjpl/spark-mesos-base

MAINTAINER <NAME> "<EMAIL>"

# Run a Mesos slave.

WORKDIR ${MESOS_HOME}/build

CMD ["/bin/bash", "-c", "./bin/mesos-agent.sh --master=${MESOS_MASTER_NAME}:${MESOS_MASTER_PORT} --port=${MESOS_AGENT_PORT} --work_dir=${MESOS_WORKDIR} --no-systemd_enable_support --launcher=posix --no-switch_user --executor_environment_variables='{ \"PYTHON_EGG_CACHE\": \"/tmp\" }'"]

{'fraction_non_alphanumeric': 0.17004830917874397, 'fraction_numerical': 0.001932367149758454, 'mean_word_length': 5.278787878787878, 'pattern_counts': {'":': 1, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3500244', 'n_tokens_mistral': 415, 'n_tokens_neox': 398, 'n_words': 71}