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

Windows install scripts fail to set logdir and datadir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.2
    • Packaging
    • Normal

    Description

      After CASSANDRA-7136, the install scripts to run Cassandra as a service fail on both the legacy and the powershell paths. Looks like they need to have

      ++JvmOptions=-Dcassandra.logdir=%CASSANDRA_HOME%\logs ^
      ++JvmOptions=-Dcassandra.storagedir=%CASSANDRA_HOME%\data
      

      added to function correctly.

      We should take this opportunity to make sure the source of the java options is uniform for both running and installation to prevent mismatches like this in the future.

      Attachments

        1. 8115_v1.txt
          7 kB
          Joshua McKenzie
        2. 8115_v2.txt
          9 kB
          Joshua McKenzie
        3. 8115_fix.txt
          1 kB
          Joshua McKenzie

        Issue Links

          Activity

            People

              JoshuaMcKenzie Joshua McKenzie
              JoshuaMcKenzie Joshua McKenzie
              Joshua McKenzie
              Philip Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: