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

Avoid creating temprorary strings in Block.toString() and getBlockName()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.9.0, 3.0.0-alpha1
    • performance
    • None

    Description

      Minor change to use StringBuilders directly to avoid creating temporary strings of Long and Block name when doing toString on a Block.

      Attachments

        1. HDFS-9350.001.patch
          1 kB
          Staffan Friberg

        Issue Links

          Activity

            People

              sfriberg Staffan Friberg
              sfriberg Staffan Friberg
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: