Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11349 [Umbrella] Additional testing for striped erasure coding
  3. HDFS-9098

Erasure coding: emulate race conditions among striped streamers in write pipeline

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha1
    • None
    • erasure-coding
    • None

    Description

      Apparently the interleaving of events among StripedDataStreamer's is very tricky to handle. walter.k.su and jingzhao have discussed several race conditions under HDFS-9040.

      Let's use FaultInjector to emulate different combinations of interleaved events.

      In particular, we should consider inject delays in the following places:

      1. Streamer#endBlock
      2. Streamer#locateFollowingBlock
      3. Streamer#updateBlockForPipeline
      4. Streamer#updatePipeline
      5. OutputStream#writeChunk
      6. OutputStream#close

      Attachments

        1. HDFS-9098.wip.patch
          15 kB
          Zhe Zhang
        2. HDFS-9098.00.patch
          17 kB
          Zhe Zhang

        Issue Links

          Activity

            People

              zhz Zhe Zhang
              zhz Zhe Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: