[ https://issues.apache.org/jira/browse/YARN-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760567#comment-13760567 ]
Karthik Kambatla commented on YARN-1098: ---------------------------------------- Haven't added any tests because the patch just reorganizes code and doesn't change functionality. Existing tests should expose any problems. In fact, not having to modify anything else shows the changes are transparent to the users of ResourceManager. > Separate out RM services into "Always On" and "Active" > ------------------------------------------------------ > > 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-1.patch, yarn-1098-2.patch, yarn-1098-3.patch, > yarn-1098-4.patch, 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