[ https://issues.apache.org/jira/browse/SPARK-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139218#comment-14139218 ]
Patrick Wendell edited comment on SPARK-1477 at 9/18/14 5:34 PM: ----------------------------------------------------------------- Unless we are planning to interact with these components in a generic way, there is not a good reason to add this interface (see relevant discussion in github). was (Author: pwendell): Unless we are planning to interact with these components in a generic way, there is not a good reason to add this interface (see relevant discussion in JIRA). > Add the lifecycle interface > --------------------------- > > Key: SPARK-1477 > URL: https://issues.apache.org/jira/browse/SPARK-1477 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 1.0.0, 1.0.1 > Reporter: Guoqiang Li > Assignee: Guoqiang Li > > Now the Spark in the code, there are a lot of interface or class defines the > stop and start > method,eg:[SchedulerBackend|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/SchedulerBackend.scala],[HttpServer|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/HttpServer.scala],[ContextCleaner|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/ContextCleaner.scala] > . we should use a life cycle interface improve the code -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org