Skip to content

BlobContainer's deleteBlob method should not be lenient #18530

@abeyad

Description

@abeyad

Currently, several implementations of BlobContainer#deleteBlob(String blobName) are lenient - if the blob does not exist, it silently does nothing. Instead, we should throw an IOException if the blob does not exist. This is in accordance with BlobContainer's contract as stated in #18157.

Current implementations that do not conform (and silently do nothing if the blob does not exist):

  1. FsBlobContainer
  2. HdfsBlobContainer
  3. S3BlobContainer
  4. AzureBlobContainer

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions