[
https://issues.apache.org/jira/browse/ZOOKEEPER-3603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969328#comment-16969328
]
Suraj Kumar Agrahari commented on ZOOKEEPER-3603:
-------------------------------------------------
I reproduced the issue. Attaching the screenshot !Screenshot 2019-11-01 at
7.35.43 PM.png!
> Zookeeper (3.5.6) not starting on mac
> -------------------------------------
>
> Key: ZOOKEEPER-3603
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3603
> Project: ZooKeeper
> Issue Type: Bug
> Components: build
> Affects Versions: 3.5.6
> Environment: Mac 10.14
> Reporter: Suraj Kumar Agrahari
> Priority: Major
> Labels: triaged
> Attachments: Screenshot 2019-11-01 at 7.35.43 PM.png
>
>
> I downloaded zookeeper 3.5.6 and was unable to start because the
> zookeeper_server.pid file was not being created.
> The problem was in the line *ZOO_DATADIR="$(echo -e "${ZOO_DATADIR}" | sed -e
> 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')"*
>
> After removing -e option from the echo command, it started successfully.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)