Skip to content

Commit 4152fbf

Browse files
committed
Remove the performance analyzer plugin from the OpenSearch image
1 parent fbb084f commit 4152fbf

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

opensearch/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ ARG OPENSEARCH_NEURAL_SEARCH_PLUGIN_VERSION
3030
ARG OPENSEARCH_NOTIFICATIONS_CORE_PLUGIN_VERSION
3131
ARG OPENSEARCH_NOTIFICATIONS_PLUGIN_VERSION
3232
ARG OPENSEARCH_OBSERVABILITY_PLUGIN_VERSION
33-
ARG OPENSEARCH_PERFORMANCE_ANALYZER_PLUGIN_VERSION
3433
ARG OPENSEARCH_REPORTS_SCHEDULER_PLUGIN_VERSION
3534
ARG OPENSEARCH_SEARCH_RELEVANCE_PLUGIN_VERSION
3635
ARG OPENSEARCH_SECURITY_ANALYTICS_PLUGIN_VERSION
@@ -128,7 +127,6 @@ rm -r jdk
128127
"org.opensearch.plugin:opensearch-notifications-core:${OPENSEARCH_NOTIFICATIONS_CORE_PLUGIN_VERSION}" \
129128
"org.opensearch.plugin:notifications:${OPENSEARCH_NOTIFICATIONS_PLUGIN_VERSION}" \
130129
"org.opensearch.plugin:opensearch-observability:${OPENSEARCH_OBSERVABILITY_PLUGIN_VERSION}" \
131-
"org.opensearch.plugin:performance-analyzer:${OPENSEARCH_PERFORMANCE_ANALYZER_PLUGIN_VERSION}" \
132130
"org.opensearch.plugin:opensearch-reports-scheduler:${OPENSEARCH_REPORTS_SCHEDULER_PLUGIN_VERSION}" \
133131
"org.opensearch.plugin:opensearch-search-relevance:${OPENSEARCH_SEARCH_RELEVANCE_PLUGIN_VERSION}" \
134132
"org.opensearch.plugin:opensearch-security-analytics:${OPENSEARCH_SECURITY_ANALYTICS_PLUGIN_VERSION}" \
@@ -152,9 +150,7 @@ find /stackable/opensearch-${PRODUCT_VERSION}/config -type f -exec chmod 660 {}
152150

153151
EOF
154152

155-
# The OpenSearch Performance Analyzer needs a JDK, not just a JRE.
156-
# With a JRE, the following exception is thrown:
157-
# java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine
153+
# The upstream image is built with a bundled JDK and not just a JRE, so we also ship OpenSearch with a JDK.
158154
FROM local-image/jdk-base AS final
159155

160156
ARG PRODUCT_VERSION

opensearch/boil-config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jdk-base = "21"
2020
"opensearch-notifications-core-plugin-version" = "3.1.0.0"
2121
"opensearch-notifications-plugin-version" = "3.1.0.0"
2222
"opensearch-observability-plugin-version" = "3.1.0.0"
23-
"opensearch-performance-analyzer-plugin-version" = "3.1.0.0"
2423
"opensearch-reports-scheduler-plugin-version" = "3.1.0.0"
2524
"opensearch-search-relevance-plugin-version" = "3.1.0.0"
2625
"opensearch-security-analytics-plugin-version" = "3.1.0.0"

0 commit comments

Comments
 (0)