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 "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2018/10/19 01:48:00 UTC

[jira] [Comment Edited] (YARN-8900) [Router] Federation: routing getContainers REST invocations transparently to multiple RMs

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

Bibin A Chundatt edited comment on YARN-8900 at 10/19/18 1:47 AM:
------------------------------------------------------------------

[~giovanni.fumarola]
 # Point 2 i was think to throwing WebApplicationException, Incase of activeSubcluster.isEmpty(). RMWebServices -> org.apache.hadoop.yarn.server.webapp.WebServices#rewrapAndThrowThrowable
{code:java}
throw WebApplicationException(new NoActiveSubclustersException("No Active Subclusters"),Response.Status.SERVICE_UNAVAILABLE).
{code}

 # Incase of {{federationFacade.getSubClusters(true);}} failure
{code:java}
throw WebApplicationException(e,Response.Status.SERVICE_UNAVAILABLE).
{code}


was (Author: bibinchundatt):
[~giovanni.fumarola]

# Point 2 i was think to throwing WebApplicationException, Incase of activeSubcluster.isEmpty(). 
{code}
throw WebApplicationException(new NoActiveSubclustersException("No Active Subclusters"),Response.Status.SERVICE_UNAVAILABLE).
{code}
# Incase of {{federationFacade.getSubClusters(true);}} failure
{code}
throw WebApplicationException(e,Response.Status.SERVICE_UNAVAILABLE).
{code}

> [Router] Federation: routing getContainers REST invocations transparently to multiple RMs
> -----------------------------------------------------------------------------------------
>
>                 Key: YARN-8900
>                 URL: https://issues.apache.org/jira/browse/YARN-8900
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: federation, router
>            Reporter: Giovanni Matteo Fumarola
>            Assignee: Giovanni Matteo Fumarola
>            Priority: Major
>         Attachments: YARN-8900.v1.patch, YARN-8900.v2.patch
>
>
> This JIRA tracks the design/implementation of the layer for routing RMWebServicesProtocol requests to the appropriate RM(s) in a federated YARN cluster.



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