Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8031 Follow-on work for erasure coding phase I (striping layout)
  3. HDFS-9494

Parallel optimization of DFSStripedOutputStream#flushAllInternals( )

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • hdfs-client
    • None
    • Reviewed

    Description

      Currently, in DFSStripedOutputStream#flushAllInternals( ), we trigger and
      wait for flushInternal( ) in sequence. So the runtime flow is like:

      Streamer0#flushInternal( )
      Streamer0#waitForAckedSeqno( )
      Streamer1#flushInternal( )
      Streamer1#waitForAckedSeqno( )
      …
      Streamer8#flushInternal( )
      Streamer8#waitForAckedSeqno( )
      

      It could be better to trigger all the streamers to flushInternal( ) and
      wait for all of them to return from waitForAckedSeqno( ), and then flushAllInternals( ) returns.

      Attachments

        1. HDFS-9494-origin-trunk.00.patch
          3 kB
          Rui Gao
        2. HDFS-9494-origin-trunk.01.patch
          4 kB
          Rui Gao
        3. HDFS-9494-origin-trunk.02.patch
          4 kB
          Rui Gao
        4. HDFS-9494-origin-trunk.03.patch
          7 kB
          Rui Gao
        5. HDFS-9494-origin-trunk.04.patch
          7 kB
          Rui Gao
        6. HDFS-9494-origin-trunk.05.patch
          7 kB
          Rui Gao
        7. HDFS-9494-origin-trunk.06.patch
          10 kB
          Rui Gao
        8. HDFS-9494-origin-trunk.07.patch
          10 kB
          Rui Gao
        9. HDFS-9494-origin-trunk.08.patch
          8 kB
          Rui Gao
        10. HDFS-9494.08.patch
          8 kB
          Jing Zhao
        11. HDFS-9494-origin-trunk.08_testing.patch
          9 kB
          Tsz-wo Sze

        Activity

          People

            demongaorui Rui Gao
            demongaorui Rui Gao
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: