[ 
https://issues.apache.org/jira/browse/YARN-8041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yiran Wu updated YARN-8041:
---------------------------
    Description: 
Implement routing 
getAppStatistics/getAppState/getNodeToLabels/getLabelsOnNode/updateApplicationPriority/getAppQueue/updateAppQueue/getAppTimeout/getAppTimeouts/updateApplicationTimeout/getAppAttempts/getAppAttempt/getContainers/getContainer
 REST invocations transparently to multiple RMs 




  was:
Implement routing 
getAppStatistics/getAppState/getNodeToLabels/getLabelsOnNode/updateApplicationPriority/getAppQueue/updateAppQueue/getAppTimeout/getAppTimeouts/updateApplicationTimeout/getAppAttempts/getAppAttempt/getContainers/getContainer
 REST invocations transparently to multiple RMs 


I think we need add a new Web Protocol for Router, like is 

{code:java}
public interface RouterWebServiceProtocol extends RMWebServiceProtocol {
    List<ClusterInfo> getAllSubClusterInfo();
    ClusterInfo  getSubClusterInfo(clusterId);
   SchedulerInfoType getSchedulerInfo(subClusterId);
}
{code}


cause the Router needed some protocol, such is getAllSubClusterInfo(): 
List<ClusterInfo> 、 getSubClusterInfo(clusterId): ClusterInfo 
、getSchedulerInfo(subClusterId): SchedulerInfo  。


> Federation: Implement multiple interfaces(14 interfaces), routing REST 
> invocations transparently to multiple RMs 
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-8041
>                 URL: https://issues.apache.org/jira/browse/YARN-8041
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: federation
>    Affects Versions: 2.9.0, 3.0.0
>            Reporter: Yiran Wu
>            Priority: Major
>              Labels: patch
>         Attachments: YARN-8041.001.patch, YARN-8041.002.patch, 
> YARN-8041.003.patch
>
>
> Implement routing 
> getAppStatistics/getAppState/getNodeToLabels/getLabelsOnNode/updateApplicationPriority/getAppQueue/updateAppQueue/getAppTimeout/getAppTimeouts/updateApplicationTimeout/getAppAttempts/getAppAttempt/getContainers/getContainer
>  REST invocations transparently to multiple RMs 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to