KeyProviders and the extensions have close() methods. The classes should implement Closeable that will allow try-with-resources to work and help catch original exceptions instead of finally blocks and exception masking that follows that.
- relates to
MAPREDUCE-7141 Allow KMS generated spill encryption keys
- Patch Available