Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15909

KeyProvider class should implement Closeable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.3, 2.8.5
    • 3.3.0, 3.1.4, 3.2.2
    • kms
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HADOOP-15909.001.patch
          1.0 kB
          Kuhu Shukla

        Issue Links

          Activity

            People

              kshukla Kuhu Shukla
              kshukla Kuhu Shukla
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: