question

raja avatar image
raja asked Erick Ramirez edited

Unable to start DSE with Search enabled on Mac M1 using tarball installation

Followed the steps as in the documentation
https://docs.datastax.com/en/install/6.7/install/installTARdse.html

Failed to start by throwing below error:

INFO [main] 2022-02-26 16:55:16,074 YamlConfigurationLoader.java:77 - Configuration location: file:/Users/rajamani/repositories/cassandra/dse-6.7.16/resources/cassandra/conf/cassandra.yaml
INFO [main] 2022-02-26 16:55:16,598 AuthConfig.java:125 - System keyspaces filtering not enabled.
INFO [main] 2022-02-26 16:55:16,599 IAuditLogger.java:136 - Audit logging is disabled
INFO [main] 2022-02-26 16:55:16,677 TPC.java:134 - Created 9 NIO event loops (with I/O ratio set to 50).
INFO [main] 2022-02-26 16:55:16,693 TPC.java:142 - Created 1 TPC timers due to configured ratio of 5.
INFO [main] 2022-02-26 16:55:16,960 DseConfig.java:372 - CQL slow log is enabled
INFO [main] 2022-02-26 16:55:16,960 DseConfig.java:373 - CQL system info tables are not enabled
INFO [main] 2022-02-26 16:55:16,961 DseConfig.java:374 - Resource level latency tracking is not enabled
INFO [main] 2022-02-26 16:55:16,961 DseConfig.java:375 - Database summary stats are not enabled
INFO [main] 2022-02-26 16:55:16,961 DseConfig.java:376 - Cluster summary stats are not enabled
INFO [main] 2022-02-26 16:55:16,961 DseConfig.java:377 - Histogram data tables are not enabled
INFO [main] 2022-02-26 16:55:16,962 DseConfig.java:378 - User level latency tracking is not enabled
INFO [main] 2022-02-26 16:55:16,962 DseConfig.java:380 - Spark cluster info tables are not enabled
INFO [main] 2022-02-26 16:55:16,963 DseConfig.java:420 - Cql solr query paging is: off
INFO [main] 2022-02-26 16:55:16,967 DseUtil.java:485 - /proc/cpuinfo is not available, defaulting to 1 thread per CPU core...
INFO [main] 2022-02-26 16:55:16,967 DseConfig.java:424 - This instance appears to have 1 thread per CPU core and 10 total CPU threads.
INFO [main] 2022-02-26 16:55:16,969 DseConfig.java:441 - Server ID:F4-D4-88-66-17-8D
ERROR [main] 2022-02-26 16:55:17,359 DseModule.java:106 - org/apache/lucene/uninverting/FieldCache. Exiting...
dsesearcharm64
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez edited

In my experience, "class not found" exceptions are a symptom of another problem. I see this error often when using Java 11 with Cassandra. Cassandra 4.0 added support for Java 11 (CASSANDRA-16894) but older versions of Cassandra only work with Java 8.

DataStax Enterprise 6.8 is compatible with Cassandra 3.11 which only supports Java 8. DSE will successfully start with Java 11 but it hasn't been tested or certified so it's not recommended in production.

Additionally, ARM64 architecture (Apple M1 chip) is not officially supported yet. It is on our roadmap but I have no timeframes to share at this point. Cheers!

[UPDATE] Other developers who have an Apple M1 Mac advised that they are able to run DSE with Apple Rosetta 2 installed. I don't have access to a M1 device to test this workaround so YMMV. :)

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.