"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 the 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.


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.  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.


On Thu, Jun 10, 2010 at 12:34, Kochheiser,Todd W - TO-DITT1
<twkochheiser@bpa.gov> wrote:
> For various reasons I am required to deploy systems on Windows.  As such, 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 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’t look like anyone has contributed a formal solution and having
> some experience using Apache’s Procrun
> (http://commons.apache.org/daemon/procrun.html), I decided to go ahead and
> write a batch script and a simple “WindowsService” class to accomplish 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’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’t mind sharing the code/script or contributing it back 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