Skip to content

Commit 2daee05

Browse files
authored
Fix integ test failure in 2.0 RC (#942)
Signed-off-by: Govind Kamat <[email protected]>
1 parent 123f993 commit 2daee05

File tree

2 files changed

+7
-2
lines changed
  • osbenchmark

2 files changed

+7
-2
lines changed

osbenchmark/resources/cluster_configs/main/cluster_configs/v1/vanilla/templates/config/jvm.options

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@
7979
# ${error.file}
8080
{%- endif %}
8181

82+
# JDK 21+ settings
83+
21-:-javaagent:agent/opensearch-agent.jar
84+
21-:--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED
85+
8286
{%- if additional_java_settings is defined %}
8387
{%- for value in additional_java_settings %}
8488
{{value}}

osbenchmark/utils/process.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,11 @@ def run_subprocess_with_logging(command_line, header=None, level=logging.INFO, s
133133

134134
def is_benchmark_process(p):
135135
cmdline = p.cmdline()
136-
return p.name() == "opensearch-benchmark" or \
136+
return p.name() == "opensearch-benchmark" or p.name() == "osb" or \
137137
(len(cmdline) > 1 and
138138
os.path.basename(cmdline[0].lower()).startswith("python") and
139-
os.path.basename(cmdline[1]) == "opensearch-benchmark")
139+
(os.path.basename(cmdline[1]) == "opensearch-benchmark" or
140+
os.path.basename(cmdline[1]) == "osb"))
140141

141142

142143
def find_all_other_benchmark_processes():

0 commit comments

Comments
 (0)