[ 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org