P. Taylor Goetz created STORM-1741:
--------------------------------------
Summary: storm-env.sh unconditionally sets JAVA_HOME
Key: STORM-1741
URL: https://issues.apache.org/jira/browse/STORM-1741
Project: Apache Storm
Issue Type: Bug
Affects Versions: 1.0.1
Reporter: P. Taylor Goetz
Assignee: P. Taylor Goetz
Fix For: 1.0.1
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)