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

Karthik Kambatla commented on YARN-1098:
----------------------------------------

Currently, there are no Standby services. We might have some in the future 
depending on how we build HA awareness into the external-facing services. For 
instance, if we implement a separate HTTPRedirector for redirecting HTTP 
traffic instead of incorporating in the webapp, HTTPRedirector becomes a 
Standby service which runs only when the RM is in Standby state.

For now, we can start without the Standby-services-CompositeService and add it 
when we need. For the first cut, we can move everything to ActiveStateServices 
except the AdminService and RMHAProtocolService. As we implement HA awareness 
into each of those services, they can be moved to the "Always On" pool or 
Standby pool. 

What do you think?
                
> Separate out stateless services from stateful services in the RM
> ----------------------------------------------------------------
>
>                 Key: YARN-1098
>                 URL: https://issues.apache.org/jira/browse/YARN-1098
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>    Affects Versions: 2.1.0-beta
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>              Labels: ha
>         Attachments: yarn-1098-approach.patch, yarn-1098-approach.patch
>
>
> From discussion on YARN-1027, it makes sense to separate out services that 
> are stateful and stateless. The stateless services can  run perennially 
> irrespective of whether the RM is in Active/Standby state, while the stateful 
> services need to  be started on transitionToActive() and completely shutdown 
> on transitionToStandby().
> The external-facing stateless services should respond to the client/AM/NM 
> requests depending on whether the RM is Active/Standby.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to