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

Add support for installing windows services in .cmd scripts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • scripts
    • None

    Description

      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)

      Attachments

        1. zookeeper-1876_v1.patch
          1 kB
          Enis Soztutar

        Activity

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: