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

Handle queue names consistently in FairScheduler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-alpha1
    • fairscheduler
    • None
    • Reviewed

    Description

      The fix used in YARN-3241 uses a the JDK trim() method to remove leading and trailing spaces. The QueueMetrics uses a guava based trim when it splits the queues.

      The guava based trim uses the unicode definition of a white space which is different than the java trim as can be seen here

      A queue name with a non-breaking white space will thus still cause the same "Metrics source XXX already exists!" MetricsException.

      Attachments

        1. YARN-5272.1.patch
          8 kB
          wilfreds#1
        2. YARN-5272.3.patch
          8 kB
          wilfreds#1
        3. YARN-5272.4.patch
          8 kB
          wilfreds#1

        Activity

          People

            wilfreds Wilfred Spiegelenburg
            wilfreds Wilfred Spiegelenburg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: