Last modified: 2013-09-23 22:37:56 UTC
local-low@tools-dev:~$ jsub java -version Your job 1075312 ("java") has been submitted local-low@tools-dev:~$ cat java.err -bash: /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java: No such file or directory Turns out it's actually at /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java local-low@tools-dev:~$ java -version java version "1.6.0_27" local-low@tools-exec-05:~$ java -version java version "1.7.0_25" Those should be the same version.
Change 85630 had a related patch set uploaded by Yuvipanda: Ensure that a matching version of JDK is present for the JRE https://gerrit.wikimedia.org/r/85630
So, after investigation, it turned out that: 1. There was a copy of JDK and JRE 6 *and* 7 installed on -dev. These aren't on puppet. 2. There's only a copy of JRE 7 on the exec nodes. This is properly puppetized. So default 'java' on -dev seems to resolve to v6 for some reason, and that is not found in exec nodes, hence this problem. I've 'fixed' it by getting rid of all traces of Java 6 from -dev (by hand), and then adding a puppet change to install JDK 7 on -dev.
local-low@tools-dev:~$ jsub java -version Your job 1081432 ("java") has been submitted local-low@tools-dev:~$ cat java.out Error occurred during initialization of VM Could not reserve enough space for object heap Looks like it "works" now. Thanks Yuvi!
Change 85630 merged by Ryan Lane: Ensure that a matching version of JDK is present for the JRE https://gerrit.wikimedia.org/r/85630