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

Handle queue names consistently in FairScheduler

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: fairscheduler
    • Labels:
      None
    • Hadoop Flags:
      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.4.patch
          8 kB
          Wilfred Spiegelenburg
        2. YARN-5272.3.patch
          8 kB
          Wilfred Spiegelenburg
        3. YARN-5272.1.patch
          8 kB
          Wilfred Spiegelenburg

          Activity

            People

            • Assignee:
              wilfreds Wilfred Spiegelenburg
              Reporter:
              wilfreds Wilfred Spiegelenburg
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: