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

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

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


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/federation/utils/FederationStateStoreFacade.java:
##########
@@ -1104,7 +1104,7 @@ public Collection<SubClusterInfo> getActiveSubClusters()
   public ApplicationSubmissionContext 
getApplicationSubmissionContext(ApplicationId appId) {
     try {
       GetApplicationHomeSubClusterResponse response = 
stateStore.getApplicationHomeSubCluster(
-          GetApplicationHomeSubClusterRequest.newInstance(appId));
+          GetApplicationHomeSubClusterRequest.newInstance(appId, true));
       ApplicationHomeSubCluster appHomeSubCluster = 
response.getApplicationHomeSubCluster();

Review Comment:
   Why do we modify this parameter? 





> [Federation] Fix the name of unmanaged app.
> -------------------------------------------
>
>                 Key: YARN-11612
>                 URL: https://issues.apache.org/jira/browse/YARN-11612
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Chenyu Zheng
>            Assignee: Chenyu Zheng
>            Priority: Major
>              Labels: pull-request-available
>
> When app is running across multiple cluster, the app is running in secondary 
> cluster as unmanaged app. For now, the app name is 
> "UnmanagedAM-${clusterid}", this name should be real app name which is set by 
> user.



--
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