启动过程中遇到错误Cassandra 3.11.2
启动Cassandra作为org.apache.Cassandra.exceptions.ConfigurationException时,我遇到一个新错误:无效值??选项“推测性重试”的百分位数 我正在Windows10Pro上使用ApacheCassandra3.11.2。如果有任何可能的解决办法,请告诉我启动过程中遇到错误Cassandra 3.11.2,cassandra,cassandra-3.0,Cassandra,Cassandra 3.0,启动Cassandra作为org.apache.Cassandra.exceptions.ConfigurationException时,我遇到一个新错误:无效值??选项“推测性重试”的百分位数 我正在Windows10Pro上使用ApacheCassandra3.11.2。如果有任何可能的解决办法,请告诉我 Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup:
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: Invalid value ??PERCENTILE for option 'speculative_retry'
org.apache.cassandra.exceptions.ConfigurationException: Invalid value ??PERCENTILE for option 'speculative_retry'
at org.apache.cassandra.schema.SpeculativeRetryParam.fromString(SpeculativeRetryParam.java:113)
at org.apache.cassandra.schema.SchemaKeyspace.createTableParamsFromRow(SchemaKeyspace.java:1082)
at org.apache.cassandra.schema.SchemaKeyspace.fetchTable(SchemaKeyspace.java:1059)
at org.apache.cassandra.schema.SchemaKeyspace.fetchTables(SchemaKeyspace.java:998)
at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspace(SchemaKeyspace.java:957)
at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspacesWithout(SchemaKeyspace.java:934)
at org.apache.cassandra.schema.SchemaKeyspace.fetchNonSystemKeyspaces(SchemaKeyspace.java:922)
at org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:92)
at org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:82)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:262)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:602)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691)
ERROR [main] 2019-07-02 14:47:39,401 CassandraDaemon.java:708 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid value ??PERCENTILE for option 'speculative_retry'
at org.apache.cassandra.schema.SpeculativeRetryParam.fromString(SpeculativeRetryParam.java:113) ~[apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.schema.SchemaKeyspace.createTableParamsFromRow(SchemaKeyspace.java:1082) ~[apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.schema.SchemaKeyspace.fetchTable(SchemaKeyspace.java:1059) ~[apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.schema.SchemaKeyspace.fetchTables(SchemaKeyspace.java:998) ~[apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspace(SchemaKeyspace.java:957) ~[apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspacesWithout(SchemaKeyspace.java:934) ~[apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.schema.SchemaKeyspace.fetchNonSystemKeyspaces(SchemaKeyspace.java:922) ~[apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:92) ~[apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:82) ~[apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:262) [apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:602) [apache-cassandra-3.11.2.jar:3.11.2]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691) [apache-cassandra-3.11.2.jar:3.11.2]
您在表创建语句中以与所需格式不匹配的方式定义了“重试” 可接受的格式示例(如果是数字,则必须介于0.0和100.0之间): 或
检查您在架构中为表配置的内容。感谢Valerie的更新。但我还没有创建任何表或模式。这是在新PC上新安装的Apache Cassandra,只是尝试启动Cassandra。您对Cassandra使用了什么安装方法?它是从Apache-Cassandra-3.11.2-bin.tar文件夹中提取的tarball。我通过命令提示符运行cassandra.bat,从“C:\Program Files\apache-cassandra-3.11.2\bin”路径启动cassandra,我总是在不同的机器上运行,但从未遇到此类错误。我在另一台机器上测试了相同的设置,它运行正常,但无法在我正在尝试的机器上解决此错误。
AND speculative_retry = '99.0PERCENTILE';
AND speculative_retry = 'NONE';