This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Greg Mann, Joris Van Remoortere, and Michael Park.

Bugs: MESOS-4184

Repository: mesos


Jenkins builds are consistently failing for centos 7, with the

checking value of Java system property 'java.home'...
configure: error: could not guess JAVA_HOME

They also fail early on during 'bootstrap' with a missing 'which'

The solution is to update support/docker_build.sh to install 'which' as
well as make sure the proper versions of java are installed during the
installation process.

The problem with java is that we install maven BEFORE installing
java-1.7.0-openjdk-devel, causing maven to pull in a dependency on
java-1.8.0-openjdk. This causes problems with finding the proper
java.home in our mesos/configure script because of the mismatch between
the most up to date jre (1.8.0) and the most up to date development
tools (1.7.0). We can either update the script to pull in the 1.8 devel
tools or move our dependence on maven until AFTER our installation of

This commit takes the approach of updating to explicitly install the
java-1.8.0 tools.


  support/docker_build.sh c14370dcf5c0ccb883d798d9771b5503fa81c9a5 

Diff: https://reviews.apache.org/r/41475/diff/



Kevin Klues

Reply via email to