Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
JavaLaunchCommandBuilder sets the default path to the Java executable in this way:
private static final String DEFAULT_JAVA_PATH = System.getenv("JAVA_HOME") + "/bin/" + "java";
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
DEFAULT_JAVA_PATH = "java";
and assume that java binary is in the system's PATH - both on the client and in the cluster.
Attachments
There are no Sub-Tasks for this issue.