[ https://issues.apache.org/jira/browse/CASSANDRA-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua McKenzie updated CASSANDRA-8115: --------------------------------------- Attachment: 8115_v2.txt Attached v2 that disallows unknown arguments. The limitations of checked params in PowerShell meant I had to roll my own using $args which was a little more involved so I'd prefer one more quick testing/review of it if it's not too much trouble [~philipthompson]. > 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)