You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2017/03/13 16:21:56 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 ]

Michael Han updated ZOOKEEPER-1876:
-----------------------------------
    Fix Version/s:     (was: 3.5.3)
                   3.5.4

> 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.5.4, 3.6.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.3.15#6346)