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

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

Thinking more about it, I think we need to have three kinds of services: Always 
On, Active, and Standby. 

To begin with (1) Always On can have the admin services and 
RMHAProtocolService, (2) Active has all other services, (3) Standby has no 
services. 

Eventually, once we are done with all the HA work: (1) we can add RPC services 
that can always run - behave appropriately in the Active/Standby modes, (2) 
Standby has services that are to be run in the Standby mode alone e.g. 
HTTPRedirector for webapp assuming webapp doesn't handle the HA state, (3) 
Active has services required by the Active RM outside of the Always On services.


                
> 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