[ 
https://issues.apache.org/jira/browse/YARN-8898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722084#comment-17722084
 ] 

ASF GitHub Bot commented on YARN-8898:
--------------------------------------

slfan1989 commented on code in PR #5645:
URL: https://github.com/apache/hadoop/pull/5645#discussion_r1192123405


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/test/java/org/apache/hadoop/yarn/server/uam/TestUnmanagedApplicationManager.java:
##########
@@ -542,4 +545,43 @@ public void testSeparateThreadWithoutBlockServiceStop() 
throws Exception {
         100, 2000);
     Assert.assertEquals(0, unmanagedAppMasterMap.size());
   }
+
+  @Test
+  public void testApplicationAttributes()
+      throws IOException, YarnException, InterruptedException, 
TimeoutException {
+    long now = Time.now();
+    ApplicationId applicationId = ApplicationId.newInstance(now, 10);
+
+    Set<String> tags = new HashSet<>();
+    tags.add("1");
+    tags.add("2");
+
+    ApplicationSubmissionContext context =

Review Comment:
   I will modify this part of the code.





> Fix FederationInterceptor#allocate to set application priority in 
> allocateResponse
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-8898
>                 URL: https://issues.apache.org/jira/browse/YARN-8898
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Bibin Chundatt
>            Assignee: Shilun Fan
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: YARN-8898.wip.patch
>
>
> In case of FederationInterceptor#mergeAllocateResponses skips 
> application_priority in response returned



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to