[ https://issues.apache.org/jira/browse/CASSANDRA-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172557#comment-14172557 ]
Philip Thompson commented on CASSANDRA-8115: -------------------------------------------- +1. Working fine under cmd and powershell with restricted and unrestricted execution policies. If I have any complaints it is that no warning is given when a user runs 'cassandra.bat install' when 'cassandra.bat -install' should be used. > 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.1 > > Attachments: 8115_v1.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)