Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.3.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Attached are a some Windows versions of the zookeeper scripts. They aren't as powerful as the .sh ones but they do work for me and can be invoked with any directory as the current dir.
      The biggest trick in the scripts is in the zkEnv.cmd one where it says:
      set ZOOCFGDIR=%~dp0%..\conf
      this basically figures out the location of the zkEnv.cmd file and sets the conf directory relative to that.

      1. zkCli.cmd
        1 kB
        David Bosschaert
      2. zkEnv.cmd
        1 kB
        David Bosschaert
      3. zkServer.cmd
        1 kB
        David Bosschaert
      4. README.txt
        0.2 kB
        Patrick Hunt
      5. zkCli.cmd
        1 kB
        Patrick Hunt
      6. zkEnv.cmd
        1 kB
        Patrick Hunt
      7. zkServer.cmd
        1 kB
        Patrick Hunt

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in ZooKeeper-trunk #655 (See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/655/)

          Show
          Hudson added a comment - Integrated in ZooKeeper-trunk #655 (See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/655/ )
          Hide
          Benjamin Reed added a comment -

          Committed revision 896144.
          thanx david!

          Show
          Benjamin Reed added a comment - Committed revision 896144. thanx david!
          Hide
          Patrick Hunt added a comment -

          (all these files need to be put into bin directory, please next time submit as a patch file)

          yes, all the cmd and the README as well.

          Show
          Patrick Hunt added a comment - (all these files need to be put into bin directory, please next time submit as a patch file) yes, all the cmd and the README as well.
          Hide
          Benjamin Reed added a comment -

          the plan is to put all of these files in bin and svn add them correct?

          Show
          Benjamin Reed added a comment - the plan is to put all of these files in bin and svn add them correct?
          Hide
          Patrick Hunt added a comment -

          +1 on these files, works for me on windows xp with java 1.6

          (all these files need to be put into bin directory, please next time submit as a patch file)

          Thanks David!

          Show
          Patrick Hunt added a comment - +1 on these files, works for me on windows xp with java 1.6 (all these files need to be put into bin directory, please next time submit as a patch file) Thanks David!
          Hide
          Patrick Hunt added a comment -

          Updated windows batch files for latest release

          Removed hardcoded reference to zookeeper version 3.1.1 jar

          fixed handling of spaces in paths

          Show
          Patrick Hunt added a comment - Updated windows batch files for latest release Removed hardcoded reference to zookeeper version 3.1.1 jar fixed handling of spaces in paths
          Hide
          Patrick Hunt added a comment -

          see ZOOKEEPER-606 for cygwin fixes to shell scripts

          Show
          Patrick Hunt added a comment - see ZOOKEEPER-606 for cygwin fixes to shell scripts
          Hide
          Thibaut added a comment -

          +1.
          As the standart scripts don't work in cygwin due to invalid classpath.

          Show
          Thibaut added a comment - +1. As the standart scripts don't work in cygwin due to invalid classpath.

            People

            • Assignee:
              David Bosschaert
              Reporter:
              David Bosschaert
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development