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

Synchronization issue in FSDataSetImpl#moveBlock

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      FSDataSetImpl#moveBlock works in following following 3 steps:

      1. first creates a new replicaInfo object
      2. calls finalizeReplica to finalize it.
      3. Calls removeOldReplica to remove oldReplica.
        A client can potentially append to the old replica between step 1 and 2.

        Attachments

        1. HDFS-12942.006.patch
          10 kB
          Ajay Kumar
        2. HDFS-12942.005.patch
          11 kB
          Ajay Kumar
        3. HDFS-12942.004.patch
          10 kB
          Ajay Kumar
        4. HDFS-12942.003.patch
          10 kB
          Ajay Kumar
        5. HDFS-12942.002.patch
          10 kB
          Ajay Kumar
        6. HDFS-12942.001.patch
          9 kB
          Ajay Kumar

          Activity

            People

            • Assignee:
              ajayydv Ajay Kumar
              Reporter:
              ajayydv Ajay Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: