我正在探索Elassandra作为一个数据存储,并试图让它在我的Windows 10机器上工作。
下载:https://github.com/strapdata/elassandra/releases/download/v6.2.3.3/elassandra-6.2.3.3.zip
根据需要确定环境变量:
CASSANDRA_HOME: C:\尖峰项目\数据库探索\elassandra\elassandra-6.2.3.3 JAVA_HOME :C:\ProgramFiles\Java\jre1.8.0_171
它给出了下面的错误,已经遵循了所有的建议。错误说找不到JSR223。
PS:\Spike\Database\elassandra\elassandra-6.2.3.3\bin> .\cassandra.ps1 -f -e Get-ChildItem :无法找到path 'C:\Spike \Database,因为它不存在。在C:\尖峰项目\数据库Explore\Elassandra\elassandra-6.2.3.3\conf\cassandra-env.ps1:212字符:25+。ach ($jsrDir in Get-ChildItem "$env:CASSANDRA_HOME\lib\jsr223") ++ CategoryInfo : ObjectNotFound:(C:\尖峰项.3.3\lib\3.3 223:String)Get-Spike,ItemNotFound Exception + FullyQualifiedErrorId : PathNotFound,PathNotFound
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开始。错误:找不到或加载主类项\数据库
发布于 2018-08-02 15:02:50
我已经转到Windows10和下面的Image:https://hub.docker.com/r/strapdata/elassandra/上使用Docker了
通过将内部对接器容器端口映射到主机端口,一切都可以完美地与DevCenter连接到cassandra。
码头运行--名称el -p 9042:9042 -p 9200:9200 strapdata/elassandra:6.2.3.3
https://stackoverflow.com/questions/51650636
复制相似问题