Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3506

cassandra.bat does not use SETLOCAL, can cause classpath issues

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.0.4
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows

    • Severity:
      Low

      Description

      In bin/cassandra.bat, we don't use SETLOCAL (although we do use ENDLOCAL for some reason), so modifications to the classpath within the batch script persist. This means that if you run cassandra-1.0.0/bin/cassandra.bat, kill the process, and then run cassandra-1.0.3/bin/cassandra.bat, the 1.0.0 jars will still be in the classpath.

        Attachments

        1. 3506.txt
          0.3 kB
          Tom Hobbs

          Activity

            People

            • Assignee:
              thobbs Tom Hobbs
              Reporter:
              thobbs Tom Hobbs
              Authors:
              Tom Hobbs
              Reviewers:
              Benjamin Coverston
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: