You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "leiqiang (JIRA)" <ji...@apache.org> on 2018/03/23 08:12:00 UTC

[jira] [Comment Edited] (YARN-8041) Federation: Implement multiple interfaces(14 interfaces), routing REST invocations transparently to multiple RMs

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

leiqiang edited comment on YARN-8041 at 3/23/18 8:11 AM:
---------------------------------------------------------

I think should add  RouterWebServiceProtocol


was (Author: leiqiang):
+1 LGTM

I think should add  RouterWebServiceProtocol

> 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 
> 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  。 if needed i can do it.



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

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