Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8386

Improve synchronization of 'streamer' reference in DFSOutputStream

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: hdfs-client
    • Labels:
      None
    • Target Version/s:

      Description

      Presently DFSOutputStream#streamer object reference is accessed inconsistently with respect to synchronization. It would be good to improve this part. This has been noticed when implementing the erasure coding feature.

      Please refer the related discussion thread in the jira HDFS-8294 for more details.

        Attachments

        1. HDFS-8386-00.patch
          17 kB
          Rakesh R
        2. HDFS-8386-01.patch
          17 kB
          Rakesh R

          Issue Links

            Activity

              People

              • Assignee:
                rakeshr Rakesh R
                Reporter:
                rakeshr Rakesh R
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: