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

Add voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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 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.wip.patch
          15 kB
          Zhe Zhang
        2. HDFS-9098.00.patch
          17 kB
          Zhe Zhang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zhz Zhe Zhang
            zhz Zhe Zhang

            Dates

              Created:
              Updated:

              Slack

                Issue deployment