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

CryptoInputStream#close() should be synchronized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0, 3.3.5
    • 3.4.0, 3.3.5
    • crypto
    • None
    • Reviewed

    Description

      org.apache.hadoop.crypto.CryptoInputStream.close() - when 2 threads try to close the stream second thread, fails with error.

      This operation should be synchronized to avoid multiple threads to perform the close operation concurrently.

      Attachments

        1. HADOOP-17588.001.patch
          0.7 kB
          Renukaprasad C
        2. image-2021-03-13-23-56-18-865.png
          63 kB
          Renukaprasad C

        Issue Links

          Activity

            People

              prasad-acit Renukaprasad C
              prasad-acit Renukaprasad C
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: