Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.0.1
-
None
-
None
Description
STORM-1706 introduced storm-env.sh to the binary distribution. Before 1.0.1 we weren’t including `storm-env.sh`. That file does the following:
export JAVA_HOME=${JAVA_HOME}
Which, if JAVA_HOME is not set, will set it, but leave it empty. So the clojure code in supervisor.clj `if (nil? java-home)` will evaluate to false and we’ll end up with `/bin/java` as the java command.