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

Refactor NamenodeFsck#copyBlock

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: namenode
    • Labels:
      None
    • Flags:
      Patch

      Description

      1. Code is performing copy with a 1K buffer. 8K is the standard these days
      2. Improve code design; do not catch one's own exception, do not log and throw (only do one or the other, never both)
      3. Refactor to make a new method for copy

        Attachments

        1. HDFS-14106.2.patch
          2 kB
          David Mollitor
        2. HDFS-14106.1.patch
          2 kB
          David Mollitor

          Activity

            People

            • Assignee:
              belugabehr David Mollitor
              Reporter:
              belugabehr David Mollitor
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: