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

Cleanup DFSOutputStream by removing unwanted changes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • hdfs-client
    • None
    • Reviewed

    Description

      This jira is to clean up few changes done as part of HDFS-8386. As per szetszwo comments, it will affect the write performance. Please see the discussion here

      Needs to do the following changes as part of this jira:

      1. remove “synchronized" from getStreamer() since it may unnecessarily block the caller
      2. remove setStreamer(..) which is currently not used. We may add it in the HDFS-7285 branch and see how to do synchronization correctly.

      Attachments

        1. HDFS-8606-00.patch
          0.9 kB
          Rakesh Radhakrishnan

        Issue Links

          Activity

            People

              rakeshr Rakesh Radhakrishnan
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: