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

Throw a more useful error when the S3 source is unable to determine bucket ownership #4021

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

dlvenable
Copy link
Member

Description

I ran a pipeline that performed an S3 scan without an STS role ARN. Data Prepper is unable to run because it can't deduce the bucket ownership automatically. This is expected, but the failure is currently a NullPointerException which users can't benefit from.

This PR catches this case and throws a clearer exception so that users can make an actionable decision.

Issues Resolved

N/A

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…he bucket ownership to use.

Signed-off-by: David Venable <[email protected]>
@dlvenable dlvenable changed the title Throw a more useful error when the S3 source is unable to determine t… Throw a more useful error when the S3 source is unable to determine bucket ownership Jan 25, 2024
@dlvenable dlvenable merged commit ef103d1 into opensearch-project:main Jan 30, 2024
47 checks passed
@dlvenable dlvenable added this to the v2.7 milestone Jan 30, 2024
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.

3 participants