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

Zookeeper (3.5.6) not starting on mac

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.5.6
    • Fix Version/s: None
    • Component/s: build
    • Labels:
    • Environment:

      Mac 10.14

    • Flags:
      Important

      Description

      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.

        Attachments

        1. Screenshot 2019-11-01 at 7.35.43 PM.png
          72 kB
          Suraj Kumar Agrahari
        2. zkServer.sh
          9 kB
          Suraj Kumar Agrahari
        3. zoo.cfg
          0.9 kB
          Suraj Kumar Agrahari

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              suraj_agrahari Suraj Kumar Agrahari
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: