Actually why wouldn't we want this till be accessible? It is at the same
level as runJob.
On Sep 18, 2013 9:50 AM, "Mark Hamstra" <notifications@github.com> wrote:

> In core/src/main/scala/org/apache/spark/SparkContext.scala:
>
> > @@ -812,6 +813,38 @@ class SparkContext(
> >      result
> >    }
> >
> > +  def submitJob[T, U, R](
>
> Certainly not unique to this method, but this is another example of
> something that is publicly accessible in a SparkContext that probably
> shouldn't be. Is there any plan to provide a more restricted SparkContext
> API (for use, e.g., in the shell), or are we going to continue to assume
> that if we don't tell people about something, then they won't misuse it?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mesos/spark/pull/935/files#r6439038>
> .
>