From 9de62d53a2784ba137ef59d883b622ed9db2f812 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Thu, 23 Sep 2021 08:42:12 +0100 Subject: [PATCH] [ML] Enable ML on macOS on ARM (#78203) Now that the release infrastructure is in place to deliver the ML C++ artifacts for macOS on ARM it can be enabled within Elasticsearch. --- .../java/org/elasticsearch/xpack/core/XPackSettings.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java index f51262f8dd1a..0177b35ba5bf 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java @@ -59,14 +59,7 @@ public class XPackSettings { public static final Setting GRAPH_ENABLED = Setting.boolSetting("xpack.graph.enabled", true, Setting.Property.NodeScope); /** Setting for enabling or disabling machine learning. Defaults to true. */ - public static final Setting MACHINE_LEARNING_ENABLED = Setting.boolSetting( - "xpack.ml.enabled", - IS_DARWIN_AARCH64 == false, - value -> { - if (value && IS_DARWIN_AARCH64) { - throw new IllegalArgumentException("[xpack.ml.enabled] can not be set to [true] on [Mac OS X/aarch64]"); - } - }, + public static final Setting MACHINE_LEARNING_ENABLED = Setting.boolSetting("xpack.ml.enabled", true, Setting.Property.NodeScope); /** Setting for enabling or disabling auditing. Defaults to false. */