JavaLaunchCommandBuilder sets the default path to the Java executable in this way:
That is, by default REEF client assumes that
1) you have JAVA_HOME environment variable set, and
2) your JAVA_HOME is the same as the one on the remote host.
A better solution would be to set
and assume that java binary is in the system's PATH - both on the client and in the cluster.
|Better logging in YARN job submission||Resolved||