Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
Description
jenkinsEnv paths are off.
We moved to jdk1.7 for master branch. Though we'd set hadoopqa to run with java 1.7, the jenkinsEnv overrides what jenkins sets for JAVA_HOME so we've been running 1.6 java over this last couple of months rather than 1.7.
Trying to work around jenkinsEnv settings reveals that there is no 1.7 at the location jenkins goes to find it at ("Latest JDK 7" option):
ls: cannot access /home/hudson/tools/java/latest1.7/..: No such file or directory
Messing w/ the options in the jenkins UI and then putting script in text box to expose paths, almost none of the advertised options are available.
Something changed.
I got a 1.7 working by setting jdk7-u51 explicitly and then setting PATH and JAVA_HOME just before our test script runs (it downloaded it)
... ls $JAVA_HOME/.. which java java -version echo $JAVA_HOME saveJavaHome=$JAVA_HOME $JAVA_HOME/bin/java -version ulimit -a set +x source ${WORKSPACE}/dev-support/jenkinsEnv.sh export JAVA_HOME="$saveJavaHome" export PATH=$JAVA_HOME/bin:$PATH which java java -version echo "Resetting java_home -- FIX jenkinsEnv.sh!!! $JAVA_HOME" ....
HBase builds on hadoop1||hadoop2||hadoop3||hadoop8
I ain't sure how this stuff is supposed to be set. Asking Andrew Bayer on our end (He said 'credits' needed refresh last night but that doesn't seem to have helped here).
Attachments
Issue Links
- is superceded by
-
HBASE-16591 Add a docker file only contains java 8 for running pre commit on master
- Closed