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

    • Type: Sub-task
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: erasure-coding
    • Labels:
      None
    • Target Version/s:

      Description

      Apparently the interleaving of events among StripedDataStreamer's is very tricky to handle. Walter Su and Jing Zhao 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.00.patch
          17 kB
          Zhe Zhang
        2. HDFS-9098.wip.patch
          15 kB
          Zhe Zhang

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: