[
https://issues.apache.org/jira/browse/ZOOKEEPER-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated ZOOKEEPER-2281:
-------------------------------------
Hadoop Flags: Reviewed
Fix Version/s: 3.6.0
3.5.2
Component/s: (was: server)
scripts
+1 for patch v02. I tested this on Windows with the two variants I discussed
earlier: {{JAVA_HOME}} wrapped in quotes and not wrapped in quotes. Both cases
worked this time. I plan to commit this to trunk and branch-3.5 later this
week. Thank you, Neha!
> ZK Server startup fails if there are spaces in the JAVA_HOME path
> -----------------------------------------------------------------
>
> Key: ZOOKEEPER-2281
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2281
> Project: ZooKeeper
> Issue Type: Bug
> Components: scripts
> Environment: Windows
> Reporter: neha
> Assignee: neha
> Priority: Minor
> Fix For: 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-2281-00.patch, ZOOKEEPER-2281-01.patch,
> ZOOKEEPER-2281-02.patch
>
>
> Zookeeper startup fails if there are spaces in the %JAVA_HOME% variable.
> {code}
> if not exist %JAVA_HOME%\bin\java.exe (
> echo Error: JAVA_HOME is incorrectly set.
> goto :eof
> )
> set JAVA=%JAVA_HOME%\bin\java
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)