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

Make DatanodeProtocol#commitBlockSynchronization idempotent

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta, 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      commitBlockSynchronization is not idempotent (repeated invocations with the same arguments will throw an exception). By making it Idempotent we can remove the requirement to track invocations using the retry cache.

        Attachments

        1. HDFS-5024.006.patch
          14 kB
          Arpit Agarwal
        2. HDFS-5024.005.patch
          14 kB
          Arpit Agarwal
        3. HDFS-5024.004.patch
          23 kB
          Arpit Agarwal
        4. HDFS-5024.003.patch
          22 kB
          Arpit Agarwal
        5. HDFS-5024.002.patch
          23 kB
          Arpit Agarwal
        6. HDFS-5024.001.patch
          25 kB
          Arpit Agarwal

          Activity

            People

            • Assignee:
              arp Arpit Agarwal
              Reporter:
              arp Arpit Agarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: