无法启动 DSE,获取 "Class not found: org/apache/lucene/uninverting/FieldCache"
Unable to start DSE, getting "Class not found: org/apache/lucene/uninverting/FieldCache"
DSE 服务器版本:6.8
按照 datastax 文档执行安装步骤(Tar 文件安装)
启动命令:bin/dsecassandra -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...
这个特殊的 class 作为 solr-core 的一部分存在。
DSE-server 没有 solr bundle 吗? (即使将 lib 置于 solr lib 下,也会出现此特殊错误。
能否请您协助解决问题?
该错误很可能是另一个问题的征兆。例如,在 Cassandra 中使用 Java 11 时,出现“class not found”异常是很常见的。 DataStax Enterprise 6.8 兼容仅支持 Java 8.
的 Cassandra 3.11
物有所值,Java 11 support was only added to Cassandra 4.0 (CASSANDRA-16894)。旧版本的 Cassandra 仅适用于 Java 8.
回到您最初的问题,我们需要更多信息来调查该问题,但我们在问答论坛中为您提供帮助的能力有限。请使用 DataStax Support 记录一个工单,我们的一位工程师会建议您需要哪些诊断信息以及后续步骤。干杯!
DSE 服务器版本:6.8 按照 datastax 文档执行安装步骤(Tar 文件安装)
启动命令:bin/dsecassandra -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...
这个特殊的 class 作为 solr-core 的一部分存在。 DSE-server 没有 solr bundle 吗? (即使将 lib 置于 solr lib 下,也会出现此特殊错误。
能否请您协助解决问题?
该错误很可能是另一个问题的征兆。例如,在 Cassandra 中使用 Java 11 时,出现“class not found”异常是很常见的。 DataStax Enterprise 6.8 兼容仅支持 Java 8.
的 Cassandra 3.11物有所值,Java 11 support was only added to Cassandra 4.0 (CASSANDRA-16894)。旧版本的 Cassandra 仅适用于 Java 8.
回到您最初的问题,我们需要更多信息来调查该问题,但我们在问答论坛中为您提供帮助的能力有限。请使用 DataStax Support 记录一个工单,我们的一位工程师会建议您需要哪些诊断信息以及后续步骤。干杯!