Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Release a new version for the performance-analyzer-commons repo #60

Closed
Divyaasm opened this issue Nov 16, 2023 · 2 comments
Closed
Labels
enhancement New feature or request untriaged

Comments

@Divyaasm
Copy link

Is your feature request related to a problem?
The current version 1.1.0 of performance-analyzer-commons repo is causing performance-analyzer build failure.

What solution would you like?
Release a new version to create a tag with the commit that's causing the 2.11.1 build failure.

What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.

Do you have any additional context?
Add any other context or screenshots about the feature request here.

@acidul
Copy link

acidul commented Nov 25, 2023

Hello,
the issue also exists on performance-analyzer 2.10.0.

It fails with following errors :

Task :compileJava
/workspaces/performance-analyzer/src/main/java/org/opensearch/performanceanalyzer/collectors/ClusterManagerServiceEventMetrics.java:8: error: cannot find symbol
import static org.opensearch.performanceanalyzer.commons.stats.metrics.StatExceptionCode.CLUSTER_MANAGER_METRICS_ERROR;
^
symbol: static CLUSTER_MANAGER_METRICS_ERROR
location: enum StatExceptionCode
/workspaces/performance-analyzer/src/main/java/org/opensearch/performanceanalyzer/collectors/ClusterManagerServiceMetrics.java:8: error: cannot find symbol
import static org.opensearch.performanceanalyzer.commons.stats.metrics.StatExceptionCode.CLUSTER_MANAGER_METRICS_ERROR;
^
symbol: static CLUSTER_MANAGER_METRICS_ERROR
location: enum StatExceptionCode
/workspaces/performance-analyzer/src/main/java/org/opensearch/performanceanalyzer/collectors/ClusterManagerServiceEventMetrics.java:54: error: cannot find symbol
CLUSTER_MANAGER_METRICS_ERROR);
^
symbol: variable CLUSTER_MANAGER_METRICS_ERROR
location: class ClusterManagerServiceEventMetrics
/workspaces/performance-analyzer/src/main/java/org/opensearch/performanceanalyzer/collectors/ClusterManagerServiceEventMetrics.java:166: error: cannot find symbol
StatsCollector.instance().logException(CLUSTER_MANAGER_METRICS_ERROR);
^
symbol: variable CLUSTER_MANAGER_METRICS_ERROR
location: class ClusterManagerServiceEventMetrics
/workspaces/performance-analyzer/src/main/java/org/opensearch/performanceanalyzer/collectors/ClusterManagerServiceMetrics.java:42: error: cannot find symbol
CLUSTER_MANAGER_METRICS_ERROR);
^
symbol: variable CLUSTER_MANAGER_METRICS_ERROR
location: class ClusterManagerServiceMetrics
Note: /workspaces/performance-analyzer/src/main/java/org/opensearch/performanceanalyzer/http_action/config/PerformanceAnalyzerClusterConfigAction.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 errors

where performance-analyzer-commons is :
/root/.gradle/caches/modules-2/files-2.1/org.opensearch/performance-analyzer-commons/1.1.0-SNAPSHOT/27b636a9114e1092fb9b49224c1a5c9f24d30d37/performance-analyzer-commons-1.1.0-SNAPSHOT.jar

@dblock
Copy link
Member

dblock commented Jun 6, 2024

This should have been fixed, closing.

@dblock dblock closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request untriaged
Projects
None yet
Development

No branches or pull requests

3 participants