[ https://issues.apache.org/jira/browse/YARN-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797242#comment-13797242 ]
Tsuyoshi OZAWA commented on YARN-1139: -------------------------------------- Thank you for the advice, [~zjshen]. I've checked the AbstractService code, and I've gotten we need to convert all exceptions into ServiceStateException - subclass of RuntimeException - as you described. I'll check and update a patch for YARN-1172 based on your advice. > [Umbrella] Convert all RM components to Services > ------------------------------------------------ > > Key: YARN-1139 > URL: https://issues.apache.org/jira/browse/YARN-1139 > Project: Hadoop YARN > Issue Type: Improvement > Components: resourcemanager > Affects Versions: 2.1.0-beta > Reporter: Karthik Kambatla > Assignee: Tsuyoshi OZAWA > > Some of the RM components - state store, scheduler etc. are not services. > Converting them to services goes well with the "Always On" and "Active" > service separation proposed on YARN-1098. > Given that some of them already have start(), stop() methods, it should not > be too hard to convert them to services. > That would also be a cleaner way of addressing YARN-1125. -- This message was sent by Atlassian JIRA (v6.1#6144)