Github user revans2 commented on a diff in the pull request:
https://github.com/apache/storm/pull/457#discussion_r26263810
--- Diff: bin/storm ---
@@ -82,6 +82,8 @@ CONFFILE = ""
JAR_JVM_OPTS = shlex.split(os.getenv('STORM_JAR_JVM_OPTS', ''))
JAVA_HOME = os.getenv('JAVA_HOME', None)
JAVA_CMD = 'java' if not JAVA_HOME else os.path.join(JAVA_HOME, 'bin',
'java')
+if JAVA_HOME and not os.path.exists(JAVA_CMD):
+ print "WARNING: Check JAVA_HOME. Could not find java at %s." %
JAVA_HOME
--- End diff --
I personally would rather have storm exit with an error here instead of
just a warning.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---