[ https://issues.apache.org/jira/browse/CASSANDRA-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181896#comment-14181896 ]
Philip Thompson commented on CASSANDRA-8115: -------------------------------------------- I'm able to pass in the JVM_OPTS, and run dtests with the fix. However, I'm not required to quote all arguments when running cassandra.bat through powershell, but not through command prompt. > Windows install scripts fail to set logdir and datadir > ------------------------------------------------------ > > Key: CASSANDRA-8115 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8115 > Project: Cassandra > Issue Type: Bug > Reporter: Joshua McKenzie > Assignee: Joshua McKenzie > Labels: Windows > Fix For: 2.1.2 > > Attachments: 8115_fix.txt, 8115_v1.txt, 8115_v2.txt > > > 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 > {code} > ++JvmOptions=-Dcassandra.logdir=%CASSANDRA_HOME%\logs ^ > ++JvmOptions=-Dcassandra.storagedir=%CASSANDRA_HOME%\data > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)