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

FairScheduler: Trim whitespaces when using username for queuename

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fairscheduler
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Handle the user name correctly when user name is used as default queue name in fair scheduler.
      It will be better to remove the trailing and leading whitespace of the user name when we use user name as default queue name, otherwise it will be rejected by InvalidQueueNameException from QueueManager. I think it is reasonable to make this change, because we already did special handling for '.' in user name.

        Attachments

        1. YARN-3395.001.patch
          4 kB
          zhihai xu
        2. YARN-3395.000.patch
          4 kB
          zhihai xu

          Activity

            People

            • Assignee:
              zxu zhihai xu
              Reporter:
              zxu zhihai xu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: