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

ZooKeeper doesn't start on MINGW32 (Windows)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.9
    • Fix Version/s: 3.6.0, 3.5.5, 3.4.15
    • Component/s: scripts
    • Environment:

      MINGW32_NT-6.1 on Windows 7 (e.g. git bash)

      Description

      The ZooKeeper scripts fail due to missing cygpath path conversion in a MINGW32 environment, such as when running from git bash (installed by default when installing Git for Windows).

      The fix is to add the line

      MINGW*) cygwin=true ;;

      near the bottom of the zkEnv.sh script, in the case statement that checks for a cygwin environment.

        Attachments

        1. ZOOKEEPER-2621.patch
          0.3 kB
          Amichai Rothman

          Issue Links

            Activity

              People

              • Assignee:
                amichai Amichai Rothman
                Reporter:
                amichai Amichai Rothman
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m