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

String shouldn't be compared using == in QueuePlacementRule#NestedUserQueue#getQueueForApp()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Reviewed

    Description

            if (queueName != null && queueName != "") {
      

      queueName.isEmpty() should be used instead of comparing against ""

      Attachments

        1. YARN-2042.patch
          1 kB
          Chen He

        Activity

          People

            airbots Chen He
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: