-
Notifications
You must be signed in to change notification settings - Fork 74
Description
What is the bug?
A clear and concise description of the bug.
performance-analyzer still requires performance-analyzer-rca which is deprecated.
How can one reproduce the bug?
Steps to reproduce the behavior:
- 'look at files performance-analyzer-agent and performance-analyzer-agent-cli'
- Also run $OPENSEARCH_PATH_CONF/opensearch-performance-analyzer/performance-analyzer-agent-cli
- See error What is the expected behavior?
Expected performance analyzer to run
What is your host/environment?
- OS: RHEL
- Version 9.7
- Plugins base with opensearch installed.
Do you have any screenshots?
Error: Could not find or load main class org.opensearch.performanceanalyzer.PerformanceAnalyzerApp
Caused by: java.lang.ClassNotFoundException: org.opensearch.performanceanalyzer.PerformanceAnalyzerApp
cat $OPENSEARCH_PATH_CONF/opensearch-performance-analyzer/performance-analyzer-agent-cli | grep rca
OPENSEARCH_ADDITIONAL_CLASSPATH_DIRECTORIES=performance-analyzer-rca/lib \
cat performance-analyzer-agent | grep rca
export JAVA_OPTS=-Dopensearch.path.home=$OPENSEARCH_HOME\ -Dlog4j.configurationFile=$OPENSEARCH_HOME/performance-analyzer-rca-3.0.0-SNAPSHOT/config/log4j2.xml
exec $OPENSEARCH_HOME/performance-analyzer-rca-3.0.0-SNAPSHOT/bin/performance-analyzer-rca
export JAVA_OPTS=-Dopensearch.path.home=$OPENSEARCH_HOME\ -Dlog4j.configurationFile=$OPENSEARCH_HOME/performance-analyzer-rca-3.0.0-SNAPSHOT/config/log4j2.xml
exec $OPENSEARCH_HOME/performance-analyzer-rca-3.0.0-SNAPSHOT/bin/performance-analyzer-rca
Do you have any additional context?
The base opensearch install throws errors in the log when the performance analyzer is not installed.