Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8878

Remove StringBuffer from ManagedParentQueue.java

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: resourcemanager
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Flags:
      Patch

      Description

      Remove all StringBuffer references from the class ManagedParentQueue. StringBuffer are synchronized and should be instead replaced with the non-synchronized StringBuilder. However, in this case, just use SLF4J parameter logging.

        Attachments

        1. YARN-8878.1.patch
          2 kB
          David Mollitor

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: