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

0.20: OOME in HDFS client made an unrecoverable HDFS block

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.20-append
    • 0.20-append
    • datanode, hdfs-client
    • None

    Description

      Ran into a bad issue in testing overnight. One of the writers experienced an OOME in the middle of writing a checksum chunk to the stream inside a sync() call. It then proceeded to retry recovery on each DN in the pipeline, but each recovery failed because its internal checksum buffer was borked in some way - on the DNs I see "Unexpected checksum mismatch" errors after each recovery attempt.

      When another client tried to recover the file using appendFile, it got the "Partial CRC 3766269197 does not match value computed the last time file was closed" error (plus there was only one replica left in targets). It thus failed to set up the append pipeline, and ran into HDFS-1262.

      This was on 0.20-append, though it may happen on trunk as well.

      Attachments

        1. hdfs-679-testcase-20.txt
          4 kB
          Todd Lipcon
        2. blk_logs_sorted.txt
          11 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: