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

Remove StringBuffer from ManagedParentQueue.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • resourcemanager
    • None
    • Reviewed
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: