Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1741

storm-env.sh unconditionally sets JAVA_HOME

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.0.1
    • 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.

      Attachments

        Activity

          People

            ptgoetz P. Taylor Goetz
            ptgoetz P. Taylor Goetz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: