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

CryptoInputStream#close() should be synchronized

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment