Open mmurray opened 10 years ago
Have you tried setting the "environmentVariables" attribute in job configuration? It's not available in the web gui, so you might have to use curl instead
environmentVariables An array of environment variables passed to the Mesos executor. For Docker containers, these are also passed to Docker using the -e flag.
Hi,
We built chronos from master (
2.2.0_mesos-0.20.0-SNAPSHOT
) and installed it on a mesos-0.20.0 cluster.Our jobs run through chronos seem unable to access the environment variables of the machines that host them. The output of
printenv
through Chronos is missing most of the variables I see when I ssh into the same machine using the same user and run the same command. The job in Chronos does have access to some environment variables though, which all seem related to Mesos (stuff likeMESOS_SLAVE_PID
,MESOS_FRAMEWORK_ID
,MESOS_DIRECTORY
, etc).Is this known/intended behavior?
Output of
mvn -X clean package
:Tests run: 39, Failures: 0, Errors: 0, Skipped: 0
Output of
java -version
: