Skip to content

[BUG] performance-analyzer still requires performance-analyzer-rca which is deprecated. #884

@jalbrizio

Description

@jalbrizio

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:

  1. 'look at files performance-analyzer-agent and performance-analyzer-agent-cli'
  2. Also run $OPENSEARCH_PATH_CONF/opensearch-performance-analyzer/performance-analyzer-agent-cli
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions