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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Target Version/s:

      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

            • Assignee:
              cmccabe Colin McCabe
              Reporter:
              cmccabe Colin McCabe

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment