[jira] [Commented] (CASSANDRA-14418) Cassandra not getting started when using enhanced startup scripts in windows
[ https://issues.apache.org/jira/browse/CASSANDRA-14418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16472981#comment-16472981 ] Dinesh Joshi commented on CASSANDRA-14418: -- [~sphirke] [~jasobrown] Apologies for the delay. I have been busy. I can confirm that the fix works. It would be useful to double check if there are other places in the script where we may encounter similar issues. > Cassandra not getting started when using enhanced startup scripts in windows > > > Key: CASSANDRA-14418 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14418 > Project: Cassandra > Issue Type: Bug >Reporter: Shyam Phirke >Priority: Major > Fix For: 3.11.x > > > I am using Apache Cassandra 3.11.2 with my application. > My application is getting installed under C:/Program Files/My > Application/Some Folder/. > And cassandra C:/Program Files/My Application/Some Folder/cassandra. > So when I am using enhanced startup scripts cassandra not getting up and > running and I am getting below error: > "Error: Could not find or load main class Files\My" > One of the solution I got is moving cassandra to another location where > location path does not contain spaces. But this is not good way of getting > this problem resolved. > After doing detailed analysis of all the scripts I found the solution below: > Inside file cassandra-env.ps1 at line number 380: > Replace line: > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=$env:CASSANDRA_CONF\hotspot_compiler" > with line > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=""$env:CASSANDRA_CONF\hotspot_compiler""" > Fix here is the double quotes added before $env:CASSANDRA_CONF and at the end. > At other places this case is well handled. But missed at this place. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-14418) Cassandra not getting started when using enhanced startup scripts in windows
[ https://issues.apache.org/jira/browse/CASSANDRA-14418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16470301#comment-16470301 ] Jason Brown commented on CASSANDRA-14418: - [~djoshi3] did you have a chance to give this shot? > Cassandra not getting started when using enhanced startup scripts in windows > > > Key: CASSANDRA-14418 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14418 > Project: Cassandra > Issue Type: Bug >Reporter: Shyam Phirke >Priority: Major > Fix For: 3.11.x > > > I am using Apache Cassandra 3.11.2 with my application. > My application is getting installed under C:/Program Files/My > Application/Some Folder/. > And cassandra C:/Program Files/My Application/Some Folder/cassandra. > So when I am using enhanced startup scripts cassandra not getting up and > running and I am getting below error: > "Error: Could not find or load main class Files\My" > One of the solution I got is moving cassandra to another location where > location path does not contain spaces. But this is not good way of getting > this problem resolved. > After doing detailed analysis of all the scripts I found the solution below: > Inside file cassandra-env.ps1 at line number 380: > Replace line: > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=$env:CASSANDRA_CONF\hotspot_compiler" > with line > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=""$env:CASSANDRA_CONF\hotspot_compiler""" > Fix here is the double quotes added before $env:CASSANDRA_CONF and at the end. > At other places this case is well handled. But missed at this place. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-14418) Cassandra not getting started when using enhanced startup scripts in windows
[ https://issues.apache.org/jira/browse/CASSANDRA-14418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16469945#comment-16469945 ] Shyam Phirke commented on CASSANDRA-14418: -- Any progress further..? Will this be available officially in the upcoming releases? > Cassandra not getting started when using enhanced startup scripts in windows > > > Key: CASSANDRA-14418 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14418 > Project: Cassandra > Issue Type: Bug >Reporter: Shyam Phirke >Priority: Major > Fix For: 3.11.x > > > I am using Apache Cassandra 3.11.2 with my application. > My application is getting installed under C:/Program Files/My > Application/Some Folder/. > And cassandra C:/Program Files/My Application/Some Folder/cassandra. > So when I am using enhanced startup scripts cassandra not getting up and > running and I am getting below error: > "Error: Could not find or load main class Files\My" > One of the solution I got is moving cassandra to another location where > location path does not contain spaces. But this is not good way of getting > this problem resolved. > After doing detailed analysis of all the scripts I found the solution below: > Inside file cassandra-env.ps1 at line number 380: > Replace line: > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=$env:CASSANDRA_CONF\hotspot_compiler" > with line > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=""$env:CASSANDRA_CONF\hotspot_compiler""" > Fix here is the double quotes added before $env:CASSANDRA_CONF and at the end. > At other places this case is well handled. But missed at this place. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-14418) Cassandra not getting started when using enhanced startup scripts in windows
[ https://issues.apache.org/jira/browse/CASSANDRA-14418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16454780#comment-16454780 ] Joshua McKenzie commented on CASSANDRA-14418: - This fix immediately passes the smell test for me. Those double quotes on env vars were the bane of my existence when I was working on those scripts. I'll leave you to the testing Dinesh, but I have high hopes. > Cassandra not getting started when using enhanced startup scripts in windows > > > Key: CASSANDRA-14418 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14418 > Project: Cassandra > Issue Type: Bug >Reporter: Shyam Phirke >Priority: Major > Fix For: 3.11.x > > > I am using Apache Cassandra 3.11.2 with my application. > My application is getting installed under C:/Program Files/My > Application/Some Folder/. > And cassandra C:/Program Files/My Application/Some Folder/cassandra. > So when I am using enhanced startup scripts cassandra not getting up and > running and I am getting below error: > "Error: Could not find or load main class Files\My" > One of the solution I got is moving cassandra to another location where > location path does not contain spaces. But this is not good way of getting > this problem resolved. > After doing detailed analysis of all the scripts I found the solution below: > Inside file cassandra-env.ps1 at line number 380: > Replace line: > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=$env:CASSANDRA_CONF\hotspot_compiler" > with line > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=""$env:CASSANDRA_CONF\hotspot_compiler""" > Fix here is the double quotes added before $env:CASSANDRA_CONF and at the end. > At other places this case is well handled. But missed at this place. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-14418) Cassandra not getting started when using enhanced startup scripts in windows
[ https://issues.apache.org/jira/browse/CASSANDRA-14418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16453230#comment-16453230 ] Dinesh Joshi commented on CASSANDRA-14418: -- [~jasobrown] i have a windows VM - i can check. > Cassandra not getting started when using enhanced startup scripts in windows > > > Key: CASSANDRA-14418 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14418 > Project: Cassandra > Issue Type: Bug >Reporter: Shyam Phirke >Priority: Major > Fix For: 3.11.x > > > I am using Apache Cassandra 3.11.2 with my application. > My application is getting installed under C:/Program Files/My > Application/Some Folder/. > And cassandra C:/Program Files/My Application/Some Folder/cassandra. > So when I am using enhanced startup scripts cassandra not getting up and > running and I am getting below error: > "Error: Could not find or load main class Files\My" > One of the solution I got is moving cassandra to another location where > location path does not contain spaces. But this is not good way of getting > this problem resolved. > After doing detailed analysis of all the scripts I found the solution below: > Inside file cassandra-env.ps1 at line number 380: > Replace line: > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=$env:CASSANDRA_CONF\hotspot_compiler" > with line > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=""$env:CASSANDRA_CONF\hotspot_compiler""" > Fix here is the double quotes added before $env:CASSANDRA_CONF and at the end. > At other places this case is well handled. But missed at this place. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-14418) Cassandra not getting started when using enhanced startup scripts in windows
[ https://issues.apache.org/jira/browse/CASSANDRA-14418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16453196#comment-16453196 ] Jason Brown commented on CASSANDRA-14418: - the fix 'seems' legit, but as I'm not a Windows user I cannot confirm. If there's any Windows user who can confirm, I'm happy to commit. /cc [~JoshuaMcKenzie] [~blerer] are either of you two still using Windows, and can check out this fix? > Cassandra not getting started when using enhanced startup scripts in windows > > > Key: CASSANDRA-14418 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14418 > Project: Cassandra > Issue Type: Bug >Reporter: Shyam Phirke >Priority: Major > Fix For: 3.11.x > > > I am using Apache Cassandra 3.11.2 with my application. > My application is getting installed under C:/Program Files/My > Application/Some Folder/. > And cassandra C:/Program Files/My Application/Some Folder/cassandra. > So when I am using enhanced startup scripts cassandra not getting up and > running and I am getting below error: > "Error: Could not find or load main class Files\My" > One of the solution I got is moving cassandra to another location where > location path does not contain spaces. But this is not good way of getting > this problem resolved. > After doing detailed analysis of all the scripts I found the solution below: > Inside file cassandra-env.ps1 at line number 380: > Replace line: > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=$env:CASSANDRA_CONF\hotspot_compiler" > with line > $env:JVM_OPTS = "$env:JVM_OPTS > -XX:CompileCommandFile=""$env:CASSANDRA_CONF\hotspot_compiler""" > Fix here is the double quotes added before $env:CASSANDRA_CONF and at the end. > At other places this case is well handled. But missed at this place. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org