You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2009/06/02 16:41:07 UTC

[jira] Created: (ZOOKEEPER-426) Windows versions of zookeeper scrips

Windows versions of zookeeper scrips
------------------------------------

                 Key: ZOOKEEPER-426
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
             Project: Zookeeper
          Issue Type: Improvement
          Components: scripts
    Affects Versions: 3.1.1
            Reporter: David Bosschaert
         Attachments: zkCli.cmd, zkEnv.cmd, zkServer.cmd

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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Benjamin Reed (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792150#action_12792150 ] 

Benjamin Reed commented on ZOOKEEPER-426:
-----------------------------------------

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

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: README.txt, zkCli.cmd, zkCli.cmd, zkEnv.cmd, zkEnv.cmd, zkServer.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-426) Windows versions of zookeeper scrips

Posted by "David Bosschaert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert updated ZOOKEEPER-426:
---------------------------------------

    Attachment: zkServer.cmd
                zkEnv.cmd
                zkCli.cmd

> Windows versions of zookeeper scrips
> ------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>         Attachments: zkCli.cmd, zkEnv.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792179#action_12792179 ] 

Patrick Hunt commented on ZOOKEEPER-426:
----------------------------------------

bq. (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.

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: README.txt, zkCli.cmd, zkCli.cmd, zkEnv.cmd, zkEnv.cmd, zkServer.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "David Bosschaert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert updated ZOOKEEPER-426:
---------------------------------------

    Summary: Windows versions of zookeeper scripts  (was: Windows versions of zookeeper scrips)

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>         Attachments: zkCli.cmd, zkEnv.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-426:
-----------------------------------

    Attachment: zkServer.cmd

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: README.txt, zkCli.cmd, zkCli.cmd, zkEnv.cmd, zkEnv.cmd, zkServer.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-426:
-----------------------------------

    Attachment: zkEnv.cmd
                zkCli.cmd
                README.txt

Updated windows batch files for latest release

Removed hardcoded reference to zookeeper version 3.1.1 jar

fixed handling of spaces in paths

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: README.txt, zkCli.cmd, zkCli.cmd, zkEnv.cmd, zkEnv.cmd, zkServer.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Thibaut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785593#action_12785593 ] 

Thibaut commented on ZOOKEEPER-426:
-----------------------------------

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

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: zkCli.cmd, zkEnv.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt reassigned ZOOKEEPER-426:
--------------------------------------

    Assignee: David Bosschaert

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: zkCli.cmd, zkEnv.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785646#action_12785646 ] 

Patrick Hunt commented on ZOOKEEPER-426:
----------------------------------------

+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!

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: README.txt, zkCli.cmd, zkCli.cmd, zkEnv.cmd, zkEnv.cmd, zkServer.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797217#action_12797217 ] 

Hudson commented on ZOOKEEPER-426:
----------------------------------

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

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: README.txt, zkCli.cmd, zkCli.cmd, zkEnv.cmd, zkEnv.cmd, zkServer.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Benjamin Reed (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Reed updated ZOOKEEPER-426:
------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed revision 896144.
thanx david!

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: README.txt, zkCli.cmd, zkCli.cmd, zkEnv.cmd, zkEnv.cmd, zkServer.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-426:
-----------------------------------

    Status: Patch Available  (was: Open)

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: README.txt, zkCli.cmd, zkCli.cmd, zkEnv.cmd, zkEnv.cmd, zkServer.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-426) Windows versions of zookeeper scripts

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-426:
-----------------------------------

    Fix Version/s: 3.3.0

> Windows versions of zookeeper scripts
> -------------------------------------
>
>                 Key: ZOOKEEPER-426
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.1.1
>            Reporter: David Bosschaert
>             Fix For: 3.3.0
>
>         Attachments: zkCli.cmd, zkEnv.cmd, zkServer.cmd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.