See <https://builds.apache.org/job/Kafka-trunk/158/>
------------------------------------------ Started by user junrao Building remotely on hadoop9 (Zookeeper Hadoop Hadoop9 hadoop) in workspace <https://builds.apache.org/job/Kafka-trunk/ws/> Fetching changes from the remote Git repository Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git Checking out Revision 47019a849e69209c16defa81001055aa9f57674d (origin/trunk) [Kafka-trunk] $ /bin/bash -xe /tmp/hudson4718161250085257228.sh + ./gradlew testAll ERROR: JAVA_HOME is set to an invalid directory: /home/hudson/tools/java/latest1.6 Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Build step 'Execute shell' marked build as failure