Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 39431 invoked from network); 10 Jun 2010 22:31:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 22:31:41 -0000 Received: (qmail 30029 invoked by uid 500); 10 Jun 2010 22:31:40 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 30000 invoked by uid 500); 10 Jun 2010 22:31:40 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 29992 invoked by uid 99); 10 Jun 2010 22:31:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 22:31:40 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [170.160.4.252] (HELO mumps.bpa.gov) (170.160.4.252) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 22:31:34 +0000 Received: from brick.bpa.gov (mailhubs [170.160.1.254]) by mumps.bpa.gov (8.13.0/8.13.0) with ESMTP id o5AMV8Dc011846 for ; Thu, 10 Jun 2010 15:31:08 -0700 (PDT) Received: from exhqsmtp2.bud.bpa.gov ([10.1.139.16]) by brick.bpa.gov (8.13.8+Sun/8.13.1) with ESMTP id o5AMV7X3026744 for ; Thu, 10 Jun 2010 15:31:08 -0700 (PDT) Received: from EXHQ2K3.bud.bpa.gov ([10.1.158.157]) by exhqsmtp2.bud.bpa.gov with Microsoft SMTPSVC(6.0.3790.3959); Thu, 10 Jun 2010 15:31:07 -0700 Received: from spnpm1181.bud.bpa.gov ([10.3.12.81]) by EXHQ2K3.bud.bpa.gov with Microsoft SMTPSVC(6.0.3790.3959); Thu, 10 Jun 2010 15:31:07 -0700 Received: from spnfccelo.bud.bpa.gov (10.6.31.16) by spnpm1181.bud.bpa.gov (10.3.12.81) with Microsoft SMTP Server (TLS) id 8.1.393.1; Thu, 10 Jun 2010 15:31:07 -0700 Received: from spnvm1183.bud.bpa.gov ([10.33.12.53]) by spnfccelo.bud.bpa.gov ([10.6.31.16]) with mapi; Thu, 10 Jun 2010 15:31:06 -0700 From: "Kochheiser,Todd W - TO-DITT1" To: "'user@cassandra.apache.org'" Date: Thu, 10 Jun 2010 15:31:05 -0700 Subject: RE: Running Cassandra as a Windows Service Thread-Topic: Running Cassandra as a Windows Service Thread-Index: AcsIxqpJPabAg7dER6CFxivVXEPnKAAFegWg Message-ID: <2B4B52565669304C979DC60E52AA3F9B022C78FFEA@spnvm1183.bud.bpa.gov> References: <2B4B52565669304C979DC60E52AA3F9B022C78FF4E@spnvm1183.bud.bpa.gov> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 10 Jun 2010 22:31:07.0403 (UTC) FILETIME=[9E7605B0:01CB08EC] X-BPA-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: o5AMV8Dc011846 X-BPA-MailScanner: Found to be clean X-BPA-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=3.384, required 5, autolearn=disabled, FH_DATE_PAST_20XX 3.38) X-MailScanner-From: twkochheiser@bpa.gov MailScanner-NULL-Check: 1276813869.13202@UnD/OfWNbuxR9TKYu4gt8A I agree that bitrot might be happen if all of the core Cassandra developers= are using Linux. Your suggestion of putting things in a contrib area where= curious (or desperate) parties suffering on the Windows platform could pic= k it up seems like a reasonable place to start. It might also be an opport= unity to increase the number of "application" developers using Cassandra if= Cassandra was slightly more approachable on the Windows platform. Any suggestions on next steps? Todd.=20 -----Original Message----- From: Gary Dusbabek [mailto:gdusbabek@gmail.com]=20 Sent: Thursday, June 10, 2010 10:59 AM To: user@cassandra.apache.org Subject: Re: Running Cassandra as a Windows Service IMO this is one of those things that would bitrot fairly quickly if it were not maintained. It may be useful in contrib, where curious parties could pick it up, get it back in shape, and send in the changes to be committed. Judging by the sparse interest so far, this probably wouldn't be a good fit in core since there don't seem to be many (any?) cassandra developers who run windows. Gary. On Thu, Jun 10, 2010 at 12:34, Kochheiser,Todd W - TO-DITT1 wrote: > For various reasons I am required to deploy systems on Windows.=A0 As suc= h, I > went looking for information on running Cassandra as a Windows service. > I've read some of the user threads regarding running Cassandra as a Windo= ws > service, such as this one: > > =A0=A0=A0=A0=A0=A0=A0 http://www.mail-archive.com/user@cassandra.apache.o= rg/msg01656.html > > I also found the following JIRA issue: > > =A0=A0=A0=A0=A0=A0=A0 https://issues.apache.org/jira/browse/CASSANDRA-292 > > As it didn't look like anyone has contributed a formal solution and havin= g > some experience using Apache's Procrun > (http://commons.apache.org/daemon/procrun.html), I decided to go ahead an= d > write a batch script and a simple "WindowsService" class to accomplish th= e > task.=A0 The WindowsService class only makes calls to public methods in > CassandraDeamon and is fairly simple.=A0 In combination with the batch sc= ript, > it is very easy to install and remove the service.=A0 At this point, I've > installed Cassandra as a Windows service on XP (32 bit), Windows 7 (64 bi= t) > and Windows Server 2008 R1/R2 (64 bit).=A0 It should work fine on other > version of Windows (2K, 2K3). > > Questions: > > > Has anyone else already done this work? > If not, I wouldn't mind sharing the code/script or contributing it back t= o > the project.=A0 Is there any interest in this from the Cassandra dev team= or > the user community? > > > Ideally the WindowsService could be included in the distributed > source/binary distributions (perhaps in a contrib area) as well as the ba= tch > script and associated procrun executables.=A0 Or, perhaps it could be pos= ted > to a Cassandra community site (is there one?). > > Todd > > > > >