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

Refactor NamenodeFsck#copyBlock

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • namenode
    • None
    • 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.1.patch
          2 kB
          David Mollitor
        2. HDFS-14106.2.patch
          2 kB
          David Mollitor

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: