[
https://issues.apache.org/jira/browse/CASSANDRA-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Thompson reopened CASSANDRA-8115:
----------------------------------------
The v2 patch to reject invalid arguments also rejects also JVM opts and is
causing all of dtests to fail.
> 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_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)