hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bibin A Chundatt (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (YARN-8900) [Router] Federation: routing getContainers REST invocations transparently to multiple RMs
Date Tue, 23 Oct 2018 12:43:00 GMT

    [ 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/23/18 12:42 PM:
-------------------------------------------------------------------

[~giovanni.fumarola]
 # Point 2 i was think of 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().
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}

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


Mime
View raw message