You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/09/18 19:34:35 UTC

[jira] [Resolved] (SPARK-1477) Add the lifecycle interface

     [ https://issues.apache.org/jira/browse/SPARK-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Wendell resolved SPARK-1477.
------------------------------------
    Resolution: Won't Fix

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org