I think this is about JavaSparkContext which implements the standard
Closeable interface for convenience. Both do exactly the same thing.

On Sun, Jul 24, 2016 at 6:27 PM, Jacek Laskowski <ja...@japila.pl> wrote:
> Hi,
>
> I can only find stop. Where did you find close?
>
> Pozdrawiam,
> Jacek Laskowski
> ----
> https://medium.com/@jaceklaskowski/
> Mastering Apache Spark http://bit.ly/mastering-apache-spark
> Follow me at https://twitter.com/jaceklaskowski
>
>
> On Sat, Jul 23, 2016 at 3:11 PM, Mail.com <pradeep.mi...@mail.com> wrote:
>> Hi All,
>>
>> Where should we us spark context stop vs close. Should we stop the context 
>> first and then close.
>>
>> Are general guidelines around this. When I stop and later try to close I get 
>> RPC already closed error.
>>
>> Thanks,
>> Pradeep
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe e-mail: user-unsubscr...@spark.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: user-unsubscr...@spark.apache.org
>

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to