[
https://issues.apache.org/jira/browse/YARN-10070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015034#comment-17015034
]
Adam Antal commented on YARN-10070:
-----------------------------------
Hi [~kmarton]!
Thanks for the patch. It looks good to me overall, although the javadoc of
{{TestAppManager#testGetUserNameForPlacementNoRuleDefined}} is a bit unclear to
me. Could you please rephrase it?
> NPE if no rule is defined and application-tag-based-placement is enabled
> ------------------------------------------------------------------------
>
> Key: YARN-10070
> URL: https://issues.apache.org/jira/browse/YARN-10070
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Kinga Marton
> Assignee: Kinga Marton
> Priority: Major
> Attachments: YARN-10070.001.patch, YARN-10070.002.patch
>
>
> If there is no rule defined for a user NPE is thrown by the following line.
> {code:java}
> String queue = placementManager
> .placeApplication(context, usernameUsedForPlacement).getQueue();{code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]