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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: performance
    • Labels:
      None
    • Target Version/s:

      Description

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: