我正在探索 Elassandra 作为数据存储,并试图让它在我的 Windows 10 机器上运行。
下载: https ://github.com/strapdata/elassandra/releases/download/v6.2.3.3/elassandra-6.2.3.3.zip
根据需要配置环境变量:
CASSANDRA_HOME: C:\Spike Items\Database Explore\Elassandra\elassandra-6.2.3.3 JAVA_HOME: C:\Program Files\Java\jre1.8.0_171
它给出了以下错误,已遵循所有建议。错误提示未找到 JSR223。
PS C:\Spike Items\Database Explore\Elassandra\elassandra-6.2.3.3\bin> .\cassandra.ps1 -f -e Get-ChildItem : 找不到路径 'C:\Spike Items\Database Explore\Elassandra\elassandra- 6.2.3.3\lib\jsr223' 因为它不存在。在 C:\Spike Items\Database Explore\Elassandra\elassandra-6.2.3.3\conf\cassandra-env.ps1:212 char:25 + ... ach ($jsrDir in Get-ChildItem -Path "$env:CASSANDRA_HOME\ lib\jsr223") + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Spike Items....3.3\lib\jsr223:String) [Get-ChildItem], ItemNotFound Exception + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands。获取子项命令
WARNING! Automatic page file configuration detected.
It is recommended that you disable swap when running Cassandra
for performance and stability reasons.
WARNING! Detected a power profile other than High Performance.
Performance of this node will suffer.
Modify conf\cassandra.env.ps1 to suppress this warning.
从启用 Elasticsearch 开始。错误:无法找到或加载主类 Items\Database