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

Harden edit log reading code against out of memory errors

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      We should harden the edit log reading code against out of memory errors. Now that each op has a length prefix and a checksum, we can validate the checksum before trying to load the Op data. This should avoid out of memory errors when trying to load garbage data as Op data.

        Attachments

        1. HDFS-8965.007.patch
          25 kB
          Colin P. McCabe
        2. HDFS-8965.006.patch
          25 kB
          Colin P. McCabe
        3. HDFS-8965.005.patch
          25 kB
          Colin P. McCabe
        4. HDFS-8965.004.patch
          24 kB
          Colin P. McCabe
        5. HDFS-8965.003.patch
          19 kB
          Colin P. McCabe
        6. HDFS-8965.002.patch
          18 kB
          Colin P. McCabe
        7. HDFS-8965.001.patch
          18 kB
          Colin P. McCabe

          Issue Links

            Activity

              People

              • Assignee:
                cmccabe Colin P. McCabe
                Reporter:
                cmccabe Colin P. McCabe
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: