Hi, While connecting to the slave I keep getting the following java not found error. Tried setting the JAVA_HOME for that user in ~/.bashrc and ~./profile I1211 00:25:03.001273 19446 exec.cpp:217] Executor registered on slave 07411174-99b6-4993-afad-aec3d6146347-S0sh: java: command not found
Hi, While connecting to the slave I keep getting the following java not found error. Tried setting the JAVA_HOME for that user in ~/.bashrc and ~./profile I1211 00:25:03.001273 19446 exec.cpp:217] Executor registered on slave 07411174-99b6-4993-afad-aec3d6146347-S0sh: java: command not found
--
You received this message because you are subscribed to the Google Groups "Jenkins Mesos Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins-mesos+unsubscribe@googlegroups.com.
To post to this group, send email to jenkin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkins-mesos/68b498dd-cbec-4ba0-ac08-dabbecbd9174%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I1212 23:36:38.907589 8646 exec.cpp:143] Version: 0.28.2 I1212 23:36:38.909229 8656 exec.cpp:217] Executor registered on slave 3828e928-b134-428f-b78e-587557f6f052-S0 sh: java: command not found
Thanks,
-Abhsihek
Hi Abhishek,
Looks like that command is using sh, not bash (which is what would normally read in the .bashrc and .profile). Have you tried adding it to /etc/profile?Sunil
On Sat, Dec 10, 2016 at 4:31 PM, Abhishek Banerjee <abhi...@gmail.com> wrote:
Hi, While connecting to the slave I keep getting the following java not found error. Tried setting the JAVA_HOME for that user in ~/.bashrc and ~./profile I1211 00:25:03.001273 19446 exec.cpp:217] Executor registered on slave 07411174-99b6-4993-afad-aec3d6146347-S0sh: java: command not found
--
You received this message because you are subscribed to the Google Groups "Jenkins Mesos Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins-meso...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins-mesos+unsubscribe@googlegroups.com.
To post to this group, send email to jenkin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkins-mesos/7da660d6-344a-4e18-9cb5-6dc66b4d7231%40googlegroups.com.