[ https://issues.apache.org/jira/browse/YARN-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662853#comment-13662853 ]
Steve Loughran commented on YARN-530: ------------------------------------- Actually, I am starting to think making the operations to init & start a service no-ops if the service is already in that state. It's handy if you are given a service that may call {{init(Configuration)}} in it's constructor; you can still call {{init()}} without having to check if it is already inited. > Define Service model strictly, implement AbstractService for robust > subclassing, migrate yarn-common services > ------------------------------------------------------------------------------------------------------------- > > Key: YARN-530 > URL: https://issues.apache.org/jira/browse/YARN-530 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Steve Loughran > Assignee: Steve Loughran > Attachments: YARN-117changes.pdf, YARN-530-005.patch, > YARN-530-2.patch, YARN-530-3.patch, YARN-530.4.patch, YARN-530.patch > > > # Extend the YARN {{Service}} interface as discussed in YARN-117 > # Implement the changes in {{AbstractService}} and {{FilterService}}. > # Migrate all services in yarn-common to the more robust service model, test. -- 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