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

[Backport 2.15] Error visibility: Modifying error logs and logging more details about errors received from remote service #3357

Closed
wants to merge 1 commit into from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 441af6e from #3337

…details (#3337)

Signed-off-by: Pavan Yekbote <[email protected]>
(cherry picked from commit 441af6e)
@dhrubo-os
Copy link
Collaborator

> Task :opensearch-ml-algorithms:compileJava
/__w/ml-commons/ml-commons/ml-algorithms/src/main/java/org/opensearch/ml/engine/httpclient/MLHttpClientFactory.java:28: warning: [removal] AccessController in java.security has been deprecated and marked for removal
            return AccessController
                   ^
/__w/ml-commons/ml-commons/ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/SearchIndexTool.java:119: warning: [removal] AccessController in java.security has been deprecated and marked for removal
                        String doc = AccessController.doPrivileged((PrivilegedExceptionAction<String>) () -> {
                                     ^
/__w/ml-commons/ml-commons/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/remote/MLSdkAsyncHttpResponseHandler.java:174: error: cannot find symbol
            log.error("Remote server returned exception with status code: {} and body: {}", statusCode, body);
                                                                                                        ^
  symbol:   variable body
  location: class MLSdkAsyncHttpResponseHandler
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.

> Task :opensearch-ml-algorithms:compileJava FAILED
Note: Recompile with -Xlint:unchecked for details.
> Task :opensearch-ml-common:generateTestEffectiveLombokConfig
1 error
7 warnings

@dhrubo-os dhrubo-os closed this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants