Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 64138 invoked from network); 10 Jun 2010 18:49:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 18:49:32 -0000 Received: (qmail 35559 invoked by uid 500); 10 Jun 2010 18:49:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 35536 invoked by uid 500); 10 Jun 2010 18:49:30 -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 35528 invoked by uid 99); 10 Jun 2010 18:49:30 -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 18:49:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=AWL,HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.172] (HELO mail-gy0-f172.google.com) (209.85.160.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 18:49:26 +0000 Received: by gyh4 with SMTP id 4so193871gyh.31 for ; Thu, 10 Jun 2010 11:49:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.191.68 with SMTP id dl4mr499129qcb.159.1276195743723; Thu, 10 Jun 2010 11:49:03 -0700 (PDT) Received: by 10.229.81.3 with HTTP; Thu, 10 Jun 2010 11:49:03 -0700 (PDT) In-Reply-To: References: <2B4B52565669304C979DC60E52AA3F9B022C78FF4E@spnvm1183.bud.bpa.gov> Date: Thu, 10 Jun 2010 11:49:03 -0700 Message-ID: Subject: Re: Running Cassandra as a Windows Service From: Ben Standefer To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001636284992f814e30488b179e6 --001636284992f814e30488b179e6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable "For various reasons I am required to deploy systems on Windows." I don't think it would be difficult to argue the business case for running Cassandra on Linux. It's still a young project and everybody in IRC and th= e mailing list is running it on Linux. You should really re-think whatever factors are requiring you to run it on Windows and try to overcome those obstacles. -Ben On Thu, Jun 10, 2010 at 10:58 AM, Gary Dusbabek wrote= : > 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. As suc= h, > I > > went looking for information on running Cassandra as a Windows service. > > I=92ve read some of the user threads regarding running Cassandra as a > Windows > > service, such as this one: > > > > > http://www.mail-archive.com/user@cassandra.apache.org/msg01656.html > > > > I also found the following JIRA issue: > > > > https://issues.apache.org/jira/browse/CASSANDRA-292 > > > > As it didn=92t look like anyone has contributed a formal solution and > having > > some experience using Apache=92s Procrun > > (http://commons.apache.org/daemon/procrun.html), I decided to go ahead > and > > write a batch script and a simple =93WindowsService=94 class to accompl= ish > the > > task. The WindowsService class only makes calls to public methods in > > CassandraDeamon and is fairly simple. In combination with the batch > script, > > it is very easy to install and remove the service. At this point, I=92= ve > > installed Cassandra as a Windows service on XP (32 bit), Windows 7 (64 > bit) > > and Windows Server 2008 R1/R2 (64 bit). It should work fine on other > > version of Windows (2K, 2K3). > > > > Questions: > > > > > > Has anyone else already done this work? > > If not, I wouldn=92t mind sharing the code/script or contributing it ba= ck > to > > the project. 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 > batch > > script and associated procrun executables. Or, perhaps it could be > posted > > to a Cassandra community site (is there one?). > > > > Todd > > > > > > > > > > > --001636284992f814e30488b179e6 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
"For various reasons I am required to= deploy systems on Windows."

I don't th= ink it would be difficult to argue the business case for running Cassandra = on Linux. =A0It's still a young project and everybody in IRC and the ma= iling list is running it on Linux. =A0You should really re-think whatever f= actors are requiring you to run it on Windows and try to overcome those obs= tacles.

-Ben



On Thu, Jun 10, 2010 at 10:58 AM, Gary Dusbabek <gdusbabek@gmail.com> wrote:
IMO this is one of those things that would = bitrot fairly quickly if it
were not maintained. =A0It 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
<twkochheiser@bpa.gov> wr= ote:
> For various reasons I am required to deploy systems on Windows.=A0 As = such, I
> went looking for information on running Cassandra as a Windows service= .
> I=92ve read some of the user threads regarding running Cassandra as a = Windows
> service, such as this one:
>
> =A0=A0=A0=A0=A0=A0=A0 http://www.mail-archive.c= om/user@cassandra.apache.org/msg01656.html
>
> I also found the following JIRA issue:
>
> =A0=A0=A0=A0=A0=A0=A0 https://issues.apache.org/jira/browse/CAS= SANDRA-292
>
> As it didn=92t look like anyone has contributed a formal solution and = having
> some experience using Apache=92s Procrun
> (http://commons.apache.org/daemon/procrun.html), I decided to go = ahead and
> write a batch script and a simple =93WindowsService=94 class to accomp= lish the
> task.=A0 The WindowsService class only makes calls to public methods i= n
> CassandraDeamon and is fairly simple.=A0 In combination with the batch= script,
> it is very easy to install and remove the service.=A0 At this point, I= =92ve
> installed Cassandra as a Windows service on XP (32 bit), Windows 7 (64= bit)
> and Windows Server 2008 R1/R2 (64 bit).=A0 It should work fine on othe= r
> version of Windows (2K, 2K3).
>
> Questions:
>
>
> Has anyone else already done this work?
> If not, I wouldn=92t mind sharing the code/script or contributing it b= ack to
> the project.=A0 Is there any interest in this from the Cassandra dev t= eam 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= batch
> script and associated procrun executables.=A0 Or, perhaps it could be = posted
> to a Cassandra community site (is there one?).
>
> Todd
>
>
>
>
>

--001636284992f814e30488b179e6--