Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 0.4
    • Component/s: Tools
    • Labels:
      None
    • Environment:

      Windows

      Description

      I consider using cassandra in one of projects. It would be useful to have cassandra working on Windows for demos and development environment for some team members.
      I can contribute these changes in a couple of next days.

      1. 146_v1.diff
        3 kB
        Michael Greene

        Activity

        Hide
        jbellis Jonathan Ellis added a comment -

        (Note that Cassandra runs fine on windows, but it has no specific windows integration features, and the demo storage config uses a file layout that is more at home on unix.)

        Show
        jbellis Jonathan Ellis added a comment - (Note that Cassandra runs fine on windows, but it has no specific windows integration features, and the demo storage config uses a file layout that is more at home on unix.)
        Hide
        alex.vu Alexander Vushkan added a comment -

        Yes, it's in java and therefore runs fine. I'm just wondering regarding shell scripts that form environment for running Cassandra daemon(building CLASSPATH, etc). Do you guys have existing scripts to share?

        Show
        alex.vu Alexander Vushkan added a comment - Yes, it's in java and therefore runs fine. I'm just wondering regarding shell scripts that form environment for running Cassandra daemon(building CLASSPATH, etc). Do you guys have existing scripts to share?
        Hide
        jbellis Jonathan Ellis added a comment -

        The unix scripts are in bin/cassandra (which refers to bin/cassandra.in.sh).

        If you check svn history there used to be simpler bin/start-server which would probably be easier to port to windows.

        Show
        jbellis Jonathan Ellis added a comment - The unix scripts are in bin/cassandra (which refers to bin/cassandra.in.sh). If you check svn history there used to be simpler bin/start-server which would probably be easier to port to windows.
        Hide
        euphoria Michael Greene added a comment -

        The attached batch file mimics many of the classpath / library / storage conf detection and passing techniques of the existing shell scripts, and works when running as

        bin\cassandra.bat

        on the machine I tested with (Win7 RC, JDK6_14). Surprisingly, the existing sample storage conf works fine, even the UNIX-y paths.

        ant, ant clean, ant test already worked fine on Windows.

        Show
        euphoria Michael Greene added a comment - The attached batch file mimics many of the classpath / library / storage conf detection and passing techniques of the existing shell scripts, and works when running as bin\cassandra.bat on the machine I tested with (Win7 RC, JDK6_14). Surprisingly, the existing sample storage conf works fine, even the UNIX-y paths. ant, ant clean, ant test already worked fine on Windows.
        Hide
        urandom Eric Evans added a comment -

        +1, committed, thanks!

        Show
        urandom Eric Evans added a comment - +1, committed, thanks!
        Hide
        hudson Hudson added a comment -

        Integrated in Cassandra #138 (See http://hudson.zones.apache.org/hudson/job/Cassandra/138/)
        shiny new windows bat file for daemon startup

        Patch by Michael Greene; reviewed by eevans for

        Show
        hudson Hudson added a comment - Integrated in Cassandra #138 (See http://hudson.zones.apache.org/hudson/job/Cassandra/138/ ) shiny new windows bat file for daemon startup Patch by Michael Greene; reviewed by eevans for

          People

          • Assignee:
            euphoria Michael Greene
            Reporter:
            alex.vu Alexander Vushkan
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development