{"host": "an-test-coord1001.eqiad.wmnet", "state": "core_diff", "description": "Differences to core resources", "diff": {"full": {"total": 3815, "only_in_self": [], "only_in_other": ["File[/etc/presto/resource-groups.json]", "File[/etc/presto/selectors.json]"], "resource_diffs": [{"resource": "File[/etc/presto/selectors.json]", "content": "--- /etc/presto/selectors.json.orig\n+++ /etc/presto/selectors.json\n@@ -0,0 +1,22 @@\n+{\n+  \"selectors\": [\n+    {\n+      \"source\": \"superset_user\",\n+      \"group\": \"global.high_priority\"\n+    },\n+    {\n+      \"user\": \"growthbook_user\",\n+      \"group\": \"global.high_priority\"\n+    },\n+    {\n+      \"clientTags\": [\n+        \"heavy\"\n+      ],\n+      \"group\": \"global.heavy\"\n+    },\n+    {\n+      \"queryType\": \"SELECT\",\n+      \"group\": \"global.standard\"\n+    }\n+  ]\n+}", "parameters": "--- File[/etc/presto/selectors.json].orig\n+++ File[/etc/presto/selectors.json]\n\n+    owner => root\n+    group => root\n"}, {"resource": "Service[presto-server]", "parameters": "--- Service[presto-server].orig\n+++ Service[presto-server]\n\n@@\n-    require => ['Presto::Properties[config]', 'Presto::Properties[node]', 'Presto::Properties[log]', 'File[/etc/presto/jvm.config]', 'File[/var/log/presto]', 'Rsyslog::Conf[presto-server]', 'Systemd::Override[presto-umask]']\n+    require => ['Presto::Properties[config]', 'Presto::Properties[node]', 'Presto::Properties[log]', 'File[/etc/presto/jvm.config]', 'File[/var/log/presto]', 'Rsyslog::Conf[presto-server]', 'Systemd::Override[presto-umask]', 'File[/etc/presto/resource-groups.json]', 'File[/etc/presto/selectors.json]']\n"}, {"resource": "Presto::Properties[config]", "parameters": "--- Presto::Properties[config].orig\n+++ Presto::Properties[config]\n\n@@\n-    properties => {'coordinator': True, 'node-scheduler.include-coordinator': False, 'http-server.http.port': 8280, 'jmx.rmiregistry.port': 8279, 'discovery.uri': 'https://analytics-test-presto.eqiad.wmnet:8281', 'node-scheduler.network-topology': 'legacy', 'http-server.http.enabled': True, 'discovery-server.enabled': True, 'query.max-memory': '2GB', 'http-server.authentication.type': 'KERBEROS', 'http.server.authentication.krb5.service-name': 'presto', 'http.server.authentication.krb5.keytab': '/etc/security/keytabs/presto/presto.keytab', 'http.authentication.krb5.config': '/etc/krb5.conf', 'join-distribution-type': 'AUTOMATIC', 'http-server.https.keystore.path': '/etc/presto/ssl/server.p12', 'http-server.https.keystore.key': 'batman', 'internal-communication.https.required': True, 'internal-communication.https.keystore.path': '/etc/presto/ssl/server.p12', 'internal-communication.https.keystore.key': 'batman', 'internal-communication.https.trust-store-path': '/etc/ssl/certs/java/cacerts', 'internal-communication.https.trust-store-password': 'changeit', 'http-server.https.port': 8281, 'http-server.https.enabled': True, 'internal-communication.kerberos.enabled': True}\n+    properties => {'coordinator': True, 'node-scheduler.include-coordinator': False, 'http-server.http.port': 8280, 'jmx.rmiregistry.port': 8279, 'discovery.uri': 'https://analytics-test-presto.eqiad.wmnet:8281', 'resource-groups.configuration-manager': 'file', 'resource-groups.config-file': '/etc/presto/resource-groups.json', 'resource-groups.selector-file': '/etc/presto/selectors.json', 'node-scheduler.network-topology': 'legacy', 'http-server.http.enabled': True, 'discovery-server.enabled': True, 'query.max-memory': '2GB', 'http-server.authentication.type': 'KERBEROS', 'http.server.authentication.krb5.service-name': 'presto', 'http.server.authentication.krb5.keytab': '/etc/security/keytabs/presto/presto.keytab', 'http.authentication.krb5.config': '/etc/krb5.conf', 'join-distribution-type': 'AUTOMATIC', 'http-server.https.keystore.path': '/etc/presto/ssl/server.p12', 'http-server.https.keystore.key': 'batman', 'internal-communication.https.required': True, 'internal-communication.https.keystore.path': '/etc/presto/ssl/server.p12', 'internal-communication.https.keystore.key': 'batman', 'internal-communication.https.trust-store-path': '/etc/ssl/certs/java/cacerts', 'internal-communication.https.trust-store-password': 'changeit', 'http-server.https.port': 8281, 'http-server.https.enabled': True, 'internal-communication.kerberos.enabled': True}\n"}, {"resource": "File[/etc/presto/config.properties]", "content": "--- /etc/presto/config.properties.orig\n+++ /etc/presto/config.properties\n@@ -24,3 +24,6 @@\n node-scheduler.include-coordinator=false\n node-scheduler.network-topology=legacy\n query.max-memory=2GB\n+resource-groups.config-file=/etc/presto/resource-groups.json\n+resource-groups.configuration-manager=file\n+resource-groups.selector-file=/etc/presto/selectors.json"}, {"resource": "Class[Presto::Server]", "parameters": "--- Class[Presto::Server].orig\n+++ Class[Presto::Server]\n\n+    spill_enabled           => False\n+    resource_config         => {'glob_mem_limit': '100%', 'glob_concur_limit': 10, 'glob_max_queued': 50, 'hp_mem_limit': '35%', 'hp_concur_limit': 3, 'hp_max_queued': 10, 'hp_sched_weight': 6, 'std_mem_limit': '45%', 'std_concur_limit': 5, 'std_max_queued': 25, 'std_sched_weight': 3, 'hv_mem_limit': '20%', 'hv_concur_limit': 1, 'hv_max_queued': 5, 'hv_sched_weight': 1}\n+    resource_groups_enabled => True\n"}, {"resource": "File[/etc/presto/resource-groups.json]", "content": "--- /etc/presto/resource-groups.json.orig\n+++ /etc/presto/resource-groups.json\n@@ -0,0 +1,34 @@\n+{\n+  \"rootGroups\": [\n+    {\n+      \"name\": \"global\",\n+      \"softMemoryLimit\": \"100%\",\n+      \"hardConcurrencyLimit\": 10,\n+      \"maxQueued\": 50,\n+      \"schedulingPolicy\": \"weighted\",\n+      \"subGroups\": [\n+        {\n+          \"name\": \"high_priority\",\n+          \"softMemoryLimit\": \"35%\",\n+          \"hardConcurrencyLimit\": 3,\n+          \"maxQueued\": 10,\n+          \"schedulingWeight\": 6\n+        },\n+        {\n+          \"name\": \"standard\",\n+          \"softMemoryLimit\": \"45%\",\n+          \"hardConcurrencyLimit\": 5,\n+          \"maxQueued\": 25,\n+          \"schedulingWeight\": 3\n+        },\n+        {\n+          \"name\": \"heavy\",\n+          \"softMemoryLimit\": \"20%\",\n+          \"hardConcurrencyLimit\": 1,\n+          \"maxQueued\": 5,\n+          \"schedulingWeight\": 1\n+        }\n+      ]\n+    }\n+  ]\n+}", "parameters": "--- File[/etc/presto/resource-groups.json].orig\n+++ File[/etc/presto/resource-groups.json]\n\n+    owner => root\n+    group => root\n"}, {"resource": "Class[Profile::Presto::Server]", "parameters": "--- Class[Profile::Presto::Server].orig\n+++ Class[Profile::Presto::Server]\n\n+    spill_enabled           => False\n+    resource_config         => {'glob_mem_limit': '100%', 'glob_concur_limit': 10, 'glob_max_queued': 50, 'hp_mem_limit': '35%', 'hp_concur_limit': 3, 'hp_max_queued': 10, 'hp_sched_weight': 6, 'std_mem_limit': '45%', 'std_concur_limit': 5, 'std_max_queued': 25, 'std_sched_weight': 3, 'hv_mem_limit': '20%', 'hv_concur_limit': 1, 'hv_max_queued': 5, 'hv_sched_weight': 1}\n+    resource_groups_enabled => True\n"}], "perc_changed": "0.24%"}, "core": {"total": 3815, "only_in_self": [], "only_in_other": ["File[/etc/presto/resource-groups.json]", "File[/etc/presto/selectors.json]"], "resource_diffs": [{"resource": "File[/etc/presto/config.properties]", "content": "--- /etc/presto/config.properties.orig\n+++ /etc/presto/config.properties\n@@ -24,3 +24,6 @@\n node-scheduler.include-coordinator=false\n node-scheduler.network-topology=legacy\n query.max-memory=2GB\n+resource-groups.config-file=/etc/presto/resource-groups.json\n+resource-groups.configuration-manager=file\n+resource-groups.selector-file=/etc/presto/selectors.json"}, {"resource": "Service[presto-server]", "parameters": "--- Service[presto-server].orig\n+++ Service[presto-server]\n\n@@\n-    require => ['Presto::Properties[config]', 'Presto::Properties[node]', 'Presto::Properties[log]', 'File[/etc/presto/jvm.config]', 'File[/var/log/presto]', 'Rsyslog::Conf[presto-server]', 'Systemd::Override[presto-umask]']\n+    require => ['Presto::Properties[config]', 'Presto::Properties[node]', 'Presto::Properties[log]', 'File[/etc/presto/jvm.config]', 'File[/var/log/presto]', 'Rsyslog::Conf[presto-server]', 'Systemd::Override[presto-umask]', 'File[/etc/presto/resource-groups.json]', 'File[/etc/presto/selectors.json]']\n"}], "perc_changed": "0.10%"}, "main": {"total": 3815, "only_in_self": [], "only_in_other": ["File[/etc/presto/resource-groups.json]", "File[/etc/presto/selectors.json]"], "resource_diffs": [{"resource": "Presto::Properties[config]", "parameters": "--- Presto::Properties[config].orig\n+++ Presto::Properties[config]\n\n@@\n-    properties => {'coordinator': True, 'node-scheduler.include-coordinator': False, 'http-server.http.port': 8280, 'jmx.rmiregistry.port': 8279, 'discovery.uri': 'https://analytics-test-presto.eqiad.wmnet:8281', 'node-scheduler.network-topology': 'legacy', 'http-server.http.enabled': True, 'discovery-server.enabled': True, 'query.max-memory': '2GB', 'http-server.authentication.type': 'KERBEROS', 'http.server.authentication.krb5.service-name': 'presto', 'http.server.authentication.krb5.keytab': '/etc/security/keytabs/presto/presto.keytab', 'http.authentication.krb5.config': '/etc/krb5.conf', 'join-distribution-type': 'AUTOMATIC', 'http-server.https.keystore.path': '/etc/presto/ssl/server.p12', 'http-server.https.keystore.key': 'batman', 'internal-communication.https.required': True, 'internal-communication.https.keystore.path': '/etc/presto/ssl/server.p12', 'internal-communication.https.keystore.key': 'batman', 'internal-communication.https.trust-store-path': '/etc/ssl/certs/java/cacerts', 'internal-communication.https.trust-store-password': 'changeit', 'http-server.https.port': 8281, 'http-server.https.enabled': True, 'internal-communication.kerberos.enabled': True}\n+    properties => {'coordinator': True, 'node-scheduler.include-coordinator': False, 'http-server.http.port': 8280, 'jmx.rmiregistry.port': 8279, 'discovery.uri': 'https://analytics-test-presto.eqiad.wmnet:8281', 'resource-groups.configuration-manager': 'file', 'resource-groups.config-file': '/etc/presto/resource-groups.json', 'resource-groups.selector-file': '/etc/presto/selectors.json', 'node-scheduler.network-topology': 'legacy', 'http-server.http.enabled': True, 'discovery-server.enabled': True, 'query.max-memory': '2GB', 'http-server.authentication.type': 'KERBEROS', 'http.server.authentication.krb5.service-name': 'presto', 'http.server.authentication.krb5.keytab': '/etc/security/keytabs/presto/presto.keytab', 'http.authentication.krb5.config': '/etc/krb5.conf', 'join-distribution-type': 'AUTOMATIC', 'http-server.https.keystore.path': '/etc/presto/ssl/server.p12', 'http-server.https.keystore.key': 'batman', 'internal-communication.https.required': True, 'internal-communication.https.keystore.path': '/etc/presto/ssl/server.p12', 'internal-communication.https.keystore.key': 'batman', 'internal-communication.https.trust-store-path': '/etc/ssl/certs/java/cacerts', 'internal-communication.https.trust-store-password': 'changeit', 'http-server.https.port': 8281, 'http-server.https.enabled': True, 'internal-communication.kerberos.enabled': True}\n"}, {"resource": "File[/etc/presto/config.properties]", "content": "--- /etc/presto/config.properties.orig\n+++ /etc/presto/config.properties\n@@ -24,3 +24,6 @@\n node-scheduler.include-coordinator=false\n node-scheduler.network-topology=legacy\n query.max-memory=2GB\n+resource-groups.config-file=/etc/presto/resource-groups.json\n+resource-groups.configuration-manager=file\n+resource-groups.selector-file=/etc/presto/selectors.json"}, {"resource": "Class[Presto::Server]", "parameters": "--- Class[Presto::Server].orig\n+++ Class[Presto::Server]\n\n+    spill_enabled           => False\n+    resource_config         => {'glob_mem_limit': '100%', 'glob_concur_limit': 10, 'glob_max_queued': 50, 'hp_mem_limit': '35%', 'hp_concur_limit': 3, 'hp_max_queued': 10, 'hp_sched_weight': 6, 'std_mem_limit': '45%', 'std_concur_limit': 5, 'std_max_queued': 25, 'std_sched_weight': 3, 'hv_mem_limit': '20%', 'hv_concur_limit': 1, 'hv_max_queued': 5, 'hv_sched_weight': 1}\n+    resource_groups_enabled => True\n"}, {"resource": "Service[presto-server]", "parameters": "--- Service[presto-server].orig\n+++ Service[presto-server]\n\n@@\n-    require => ['Presto::Properties[config]', 'Presto::Properties[node]', 'Presto::Properties[log]', 'File[/etc/presto/jvm.config]', 'File[/var/log/presto]', 'Rsyslog::Conf[presto-server]', 'Systemd::Override[presto-umask]']\n+    require => ['Presto::Properties[config]', 'Presto::Properties[node]', 'Presto::Properties[log]', 'File[/etc/presto/jvm.config]', 'File[/var/log/presto]', 'Rsyslog::Conf[presto-server]', 'Systemd::Override[presto-umask]', 'File[/etc/presto/resource-groups.json]', 'File[/etc/presto/selectors.json]']\n"}, {"resource": "Class[Profile::Presto::Server]", "parameters": "--- Class[Profile::Presto::Server].orig\n+++ Class[Profile::Presto::Server]\n\n+    spill_enabled           => False\n+    resource_config         => {'glob_mem_limit': '100%', 'glob_concur_limit': 10, 'glob_max_queued': 50, 'hp_mem_limit': '35%', 'hp_concur_limit': 3, 'hp_max_queued': 10, 'hp_sched_weight': 6, 'std_mem_limit': '45%', 'std_concur_limit': 5, 'std_max_queued': 25, 'std_sched_weight': 3, 'hv_mem_limit': '20%', 'hv_concur_limit': 1, 'hv_max_queued': 5, 'hv_sched_weight': 1}\n+    resource_groups_enabled => True\n"}], "perc_changed": "0.18%"}}}