[PLUGIN-1841] Error Management catch known errors [GCSCopy]#1485
Merged
psainics merged 1 commit intodata-integrations:developfrom Jan 21, 2025
Merged
[PLUGIN-1841] Error Management catch known errors [GCSCopy]#1485psainics merged 1 commit intodata-integrations:developfrom
psainics merged 1 commit intodata-integrations:developfrom
Conversation
| } | ||
| StorageClient storageClient = StorageClient.create(config.getProject(), config.getServiceAccount(), | ||
| isServiceAccountFilePath, config.readTimeout); | ||
| StorageClient storageClient = null; |
Contributor
There was a problem hiding this comment.
StorageClient is plugin class, please also cover that.
c20436a to
63b48f1
Compare
63b48f1 to
b3057e2
Compare
itsankit-google
approved these changes
Jan 21, 2025
This was referenced Jan 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Error Management catch known errors [GCSCopy]
Jira : PLUGIN-1841
Description
Code change
GCSCopy.java.javaTest
Raw Logs
POST v3/namespaces/{namespace-id}/apps/{app-id}/workflows/DataPipelineWorkflow/runs/{run-id}/classify
[ { "stageName": "GCS Copy", "errorCategory": "Plugin-'Validation'-'GCS Copy'", "errorReason": "Stage 'GCS Copy' encountered 1 validation failures.", "errorMessage": "Stage 'GCS Copy' encountered : io.cdap.cdap.etl.api.validation.ValidationException: Errors were encountered during validation. Failed to create storage client, unable to load service account credentials. /Users/pusaini/cbin/cred/GCP_invalid.json (No such file or directory)", "errorType": "USER", "dependency": "false" } ]