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

The DataNode can sometimes allocate a ShortCircuitShm slot and fail to tell the DFSClient about it because of a network error

    XMLWordPrintableJSON

Details

    Description

      The DataNode can sometimes allocate a ShortCircuitShm slot and fail to tell the DFSClient about it because of a network error. In DataXceiver#requestShortCircuitFds, the DataNode can succeed at the first part (mark the slot as used) and fail at the second part (tell the DFSClient what it did). The "try" block for unregistering the slot only covers a failure in the first part, not the second part. In this way, a divergence can form between the views of which slots are allocated on DFSClient and on server.

      Attachments

        1. HDFS-7915.branch-2.6.patch
          21 kB
          Akira Ajisaka
        2. HDFS-7915.006.patch
          21 kB
          Colin McCabe
        3. HDFS-7915.005.patch
          21 kB
          Colin McCabe
        4. HDFS-7915.004.patch
          21 kB
          Colin McCabe
        5. HDFS-7915.002.patch
          13 kB
          Colin McCabe
        6. HDFS-7915.001.patch
          13 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: