A:\apache-cassandra-3.11.15\bin>cassandra.bat WARNING! Powershell script execution unavailable. Please use 'powershell Set-ExecutionPolicy Unrestricted' on this user-account to run cassandra with fully featured functionality on this platform. Starting with legacy startup options Starting Cassandra Server Unrecognized VM option 'UseParNewGC' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
时间: 2024-04-04 08:33:58 浏览: 345
根据你提供的信息,这似乎是因为你的 Java 虚拟机无法识别 `-UseParNewGC` 选项导致的。你可以尝试更新你的 Java 版本或者在启动 Cassandra 时将该选项移除。此外,你也可以尝试按照提示使用 Powershell 执行 `Set-ExecutionPolicy Unrestricted` 命令,以便在当前用户账户上拥有 Cassandra 的完整功能。
相关问题
WARNING! Powershell script execution unavailable. Please use 'powershell Set-ExecutionPolicy Unrestricted' on this user-account to run cassandra with fully featured functionality on this platform. Starting with legacy startup options Starting Cassandra Server Unrecognized VM option 'UseParNewGC' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.这个警告表示启动了cassandra了吗
这个警告提示表明PowerShell脚本执行不可用,建议使用“powershell Set-ExecutionPolicy Unrestricted”命令来解除脚本执行限制,以便在此平台上完全支持Cassandra功能。此外,还提示使用旧版启动选项启动Cassandra服务器,并提示“UseParNewGC”选项未被识别。随后出现了错误提示,无法创建Java虚拟机,出现致命异常,导致程序退出。因此,根据这个警告和错误提示,Cassandra启动失败。需要解决脚本执行限制问题和Java虚拟机创建问题,才能成功启动Cassandra。
阅读全文
相关推荐
















