zachjsh opened a new pull request #9588: Allow Cloud SegmentKillers to be 
instantiated without segment bucket or path
URL: https://github.com/apache/druid/pull/9588
 
 
   ### Description
   
   This change fixes a bug that was introduced that causes ingestion
   to fail if data is ingested from one of the supported cloud storages
   (Azure, Google, S3), and the user is using another type of storage
   for deep storage. In this case the all segment killer implementations
   are instantiated. A change recently made forced a dependency between
   the supported cloud storage type SegmentKiller classes and the
   deep storage configuration for that storage type being set, which
   forced the deep storage bucket and prefix to be non-null. This caused
   a NullPointerException to be thrown when instantiating the
   SegmentKiller classes during ingestion.
   
   To fix this issue, the respective deep storage segment configs for the
   cloud storage types supported in druid are now allowed to have nullable
   bucket and prefix configurations
   
   This PR has:
   - [ ] been self-reviewed.
      - [ ] using the [concurrency 
checklist](https://github.com/apache/druid/blob/master/dev/code-review/concurrency.md)
 (Remove this item if the PR doesn't have any relation to concurrency.)
   - [ ] added documentation for new or modified features or behaviors.
   - [ ] added Javadocs for most classes and all non-trivial methods. Linked 
related entities via Javadoc links.
   - [ ] added or updated version, license, or notice information in 
[licenses.yaml](https://github.com/apache/druid/blob/master/licenses.yaml)
   - [ ] added comments explaining the "why" and the intent of the code 
wherever would not be obvious for an unfamiliar reader.
   - [ ] added unit tests or modified existing tests to cover new code paths.
   - [ ] added integration tests.
   - [ ] been tested in a test Druid cluster.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to