solr 无法启动DSE,获取“找不到类:/apache/lucene/不反转/字段缓存”

hgqdbh6s  于 2022-11-05  发布在  Solr
关注(0)|答案(1)|浏览(145)

DSE服务器版本:6.8按照datastax文档执行安装步骤(Tar文件安装)
启动命令:bin/dse cassandra -s(需要搜索功能,因此也启用solr)
执行启动命令时出错:

WARN  [main] 2022-03-01 19:05:59,855  DatabaseDescriptor.java:1531 - JMX is not enabled to receive remote connections. Please see cassandra-env.sh for more info.
INFO  [main] 2022-03-01 19:05:59,857  DseDelegateSnitch.java:39 - Setting my workloads to [Cassandra, Search]
INFO  [main] 2022-03-01 19:05:59,904  YamlConfigurationLoader.java:77 - Configuration location: file:/Users/rajamani/repositories/cassandra/dse-6.8.20/resources/cassandra/conf/cassandra.yaml
INFO  [main] 2022-03-01 19:05:59,912  DseDelegateSnitch.java:41 - Initialized DseDelegateSnitch with workloads [Cassandra, Search], delegating to com.datastax.bdp.snitch.DseSimpleSnitch
INFO  [main] 2022-03-01 19:06:00,049  YamlConfigurationLoader.java:77 - Configuration location: file:/Users/rajamani/repositories/cassandra/dse-6.8.20/resources/cassandra/conf/cassandra.yaml
INFO  [main] 2022-03-01 19:06:01,154  AuthConfig.java:125 - System keyspaces filtering not enabled.
INFO  [main] 2022-03-01 19:06:01,155  IAuditLogger.java:136 - Audit logging is disabled
WARN  [main] 2022-03-01 19:06:01,215  DisabledTPCBackpressureController.java:20 - TPC backpressure is disabled. NOT RECOMMENDED.
INFO  [main] 2022-03-01 19:06:01,216  TPC.java:137 - Created 9 NIO event loops (with I/O ratio set to 50).
INFO  [main] 2022-03-01 19:06:01,239  TPC.java:144 - Created 1 TPC timers due to configured ratio of 5.
INFO  [main] 2022-03-01 19:06:01,524  DseConfig.java:372 - CQL slow log is enabled
INFO  [main] 2022-03-01 19:06:01,526  DseConfig.java:373 - CQL system info tables are not enabled
INFO  [main] 2022-03-01 19:06:01,526  DseConfig.java:374 - Resource level latency tracking is not enabled
INFO  [main] 2022-03-01 19:06:01,526  DseConfig.java:375 - Database summary stats are not enabled
INFO  [main] 2022-03-01 19:06:01,526  DseConfig.java:376 - Cluster summary stats are not enabled
INFO  [main] 2022-03-01 19:06:01,526  DseConfig.java:377 - Histogram data tables are not enabled
INFO  [main] 2022-03-01 19:06:01,528  DseConfig.java:378 - User level latency tracking is not enabled
INFO  [main] 2022-03-01 19:06:01,529  DseConfig.java:380 - Spark cluster info tables are not enabled
INFO  [main] 2022-03-01 19:06:01,531  DseConfig.java:420 - Cql solr query paging is: off
INFO  [main] 2022-03-01 19:06:01,535  DseUtil.java:324 - /proc/cpuinfo is not available, defaulting to 1 thread per CPU core...
INFO  [main] 2022-03-01 19:06:01,536  DseConfig.java:424 - This instance appears to have 1 thread per CPU core and 10 total CPU threads.
INFO  [main] 2022-03-01 19:06:01,538  DseConfig.java:441 - Server ID:F4-D4-88-66-17-8D
ERROR [main] 2022-03-01 19:06:02,024  DseModule.java:114 - Class not found: org/apache/lucene/uninverting/FieldCache. Exiting...

这个特殊的类作为solr-core的一部分存在。DSE-server没有solr包吗?(即使将库放在solr库下,也会发生这个特殊的错误。
您能否协助解决此问题?

cczfrluj

cczfrluj1#

该错误很可能是其他问题的症状。例如,在使用Java 11和Cassandra时,经常会出现“类未找到”异常。DataStax Enterprise 6.8与仅支持Java 8的Cassandra 3.11兼容。
值得一提的是,Java 11支持只添加到了Cassandra 4.0(CASSANDRA-16894)中,旧版本的Cassandra只支持Java8。
回到您最初的问题,我们需要更多的信息来调查问题,但是我们在问答论坛中为您提供的帮助有限。请使用DataStax Support记录一个故障单,我们的工程师将为您提供所需的诊断信息和后续步骤。干杯!

相关问题