Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2281

ZK Server startup fails if there are spaces in the JAVA_HOME path

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.8, 3.5.2, 3.6.0
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      Windows

    • Hadoop Flags:
      Reviewed

      Description

      Zookeeper startup fails if there are spaces in the %JAVA_HOME% variable.

      if not exist %JAVA_HOME%\bin\java.exe (
        echo Error: JAVA_HOME is incorrectly set.
        goto :eof
      )
      
      set JAVA=%JAVA_HOME%\bin\java
      

        Attachments

        1. ZOOKEEPER-2281-02.patch
          0.4 kB
          Neha Bathra
        2. ZOOKEEPER-2281-01.patch
          0.4 kB
          Neha Bathra
        3. ZOOKEEPER-2281-00.patch
          0.5 kB
          Neha Bathra

          Issue Links

            Activity

              People

              • Assignee:
                neha.bathra Neha Bathra
                Reporter:
                neha.bathra Neha Bathra
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: