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

FairScheduler: Trim whitespaces when using username for queuename

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • fairscheduler
    • None
    • 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

            zxu Zhihai Xu
            zxu Zhihai Xu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: