spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandeep Singh (JIRA)" <>
Subject [jira] [Comment Edited] (SPARK-1446) Spark examples should not do a System.exit
Date Wed, 09 Apr 2014 04:49:15 GMT


Sandeep Singh edited comment on SPARK-1446 at 4/9/14 4:47 AM:

I want to work on this.
Calling sparkcontext.stop() before System.exit(0) will resolve this, or should we remove System.exit(0)
and use just sparkcontext.stop()?

was (Author: techaddict):
I want to work on this.

> Spark examples should not do a System.exit
> ------------------------------------------
>                 Key: SPARK-1446
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 1.0.0
>            Reporter: Thomas Graves
> The spark examples should exit nice (sparkcontext.stop()) rather then doing a System.exit.
The System.exit can cause issues like in SPARK-1407.  SparkHdfsLR and JavaWordCount both do
the System.exit. We should look through all the examples.

This message was sent by Atlassian JIRA

View raw message