Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 47A44200C84 for ; Mon, 15 May 2017 04:58:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 461CC160BB7; Mon, 15 May 2017 02:58:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8B5D2160BCC for ; Mon, 15 May 2017 04:58:11 +0200 (CEST) Received: (qmail 17052 invoked by uid 500); 15 May 2017 02:58:10 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 16998 invoked by uid 99); 15 May 2017 02:58:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2017 02:58:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8835B1AF8BC for ; Mon, 15 May 2017 02:58:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id BhRXwEg7Js8x for ; Mon, 15 May 2017 02:58:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E774F5F5FD for ; Mon, 15 May 2017 02:58:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2FBC1E0BCD for ; Mon, 15 May 2017 02:58:06 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id EC092242F9 for ; Mon, 15 May 2017 02:58:04 +0000 (UTC) Date: Mon, 15 May 2017 02:58:04 +0000 (UTC) From: "scott chu (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ZOOKEEPER-1122) "start" and "stop" commands are not present in zkServer.cmd MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 15 May 2017 02:58:12 -0000 [ https://issues.apache.org/jira/browse/ZOOKEEPER-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16009944#comment-16009944 ] scott chu commented on ZOOKEEPER-1122: -------------------------------------- @Dan: It's about the behavior of DOS cmd "windows title". In the zkServer.cmd, this line must succeed: title zookeeper for /F "tokens=2 delims= " %%A in ('TASKLIST /FI ^"WINDOWTITLE eq zookeeper^" /NH') do ( However, in some way to start cmd.exe, the title won't be "zookeeper". As I can remember, when you press Win+R and type in dos.cmd, then run zkServer.cmd in it, the title seems to be normal (i.e. zookeeper). But if you make a shortcut of cmd.exe and rename the shortcut to some other name, say 'foowin', then the title will become 'foowin'. Anyway, the above command is not reliable. (Note: I've modifed zkServer.cmd and zkEnv.cmd to make a version that can start up multiple zookeeper servers with each server have its own log file, respectively. But I don't know how to upload or post them here. > "start" and "stop" commands are not present in zkServer.cmd > ----------------------------------------------------------- > > Key: ZOOKEEPER-1122 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1122 > Project: ZooKeeper > Issue Type: Improvement > Components: scripts > Affects Versions: 3.3.3 > Environment: Windows > Reporter: Alexander Osadchiy > Labels: patch > Fix For: 3.6.0 > > Attachments: zkServer.cmd, zkServer.cmd > > > Now ZooKeeper server can be started and stoped from Unix-based systems using script "bin/zkServer.sh": > bin/zkServer.sh start - to start server; > bin/zkServer.sh stop - to stop server. > There are no "start" and "stop" commands in script "zkServer.cmd" (for Windows). -- This message was sent by Atlassian JIRA (v6.3.15#6346)