Переглянути джерело

Open Search, Elastic Search containers failing due to Java incompatibility with ARM64 chips (#1295)

Mark Shust 3 місяців тому
батько
коміт
236e5cbb60
2 змінених файлів з 6 додано та 0 видалено
  1. 3 0
      compose/env/elasticsearch.env
  2. 3 0
      compose/env/opensearch.env

+ 3 - 0
compose/env/elasticsearch.env

@@ -1,2 +1,5 @@
 ES_HOST=elasticsearch
 ES_PORT=9200
+
+# Compatibility with ARM64/Apple M-series chips
+_JAVA_OPTIONS="-XX:UseSVE=0"

+ 3 - 0
compose/env/opensearch.env

@@ -3,3 +3,6 @@ OPENSEARCH_PORT=9200
 
 # Prevent security patch conflicts with core M2 code
 DISABLE_SECURITY_PLUGIN=true
+
+# Compatibility with ARM64/Apple M-series chips
+_JAVA_OPTIONS="-XX:UseSVE=0"