You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/05/11 00:03:45 UTC

[jira] [Created] (YARN-2042) String shouldn't be compared using == in QueuePlacementRule#NestedUserQueue#getQueueForApp()

Ted Yu created YARN-2042:
----------------------------

             Summary: String shouldn't be compared using == in QueuePlacementRule#NestedUserQueue#getQueueForApp()
                 Key: YARN-2042
                 URL: https://issues.apache.org/jira/browse/YARN-2042
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
      if (queueName != null && queueName != "") {
{code}
queueName.isEmpty() should be used instead of comparing against ""



--
This message was sent by Atlassian JIRA
(v6.2#6252)