You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2014/02/06 22:18:19 UTC

[jira] [Updated] (ZOOKEEPER-1876) Add support for installing windows services in .cmd scripts

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Enis Soztutar updated ZOOKEEPER-1876:
-------------------------------------

    Attachment: zookeeper-1876_v1.patch

Attaching a simple patch for zkServer.cmd. This should come after ZOOKEEPER-1848. 

> Add support for installing windows services in .cmd scripts
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-1876
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1876
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 3.4.6, 3.5.0
>
>         Attachments: zookeeper-1876_v1.patch
>
>
> On windows, daemons can be installed as windows services during installation, so that they can be managed using the standard "service" commands and UI. 
> For this, we have to generate an XML file describing the command line program, and arguments. We can add support for --service parameter passed to bin/zkServer.cmd so that it will output the XML for the service instead of running the command. 
> Hadoop and HBase has the same syntax and mechanics (see https://github.com/apache/hbase/blob/trunk/bin/hbase.cmd#L73) 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)