spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-1352) Improve robustness of spark-submit script
Date Sun, 30 Mar 2014 05:06:16 GMT

    [ https://issues.apache.org/jira/browse/SPARK-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13954580#comment-13954580
] 

ASF GitHub Bot commented on SPARK-1352:
---------------------------------------

GitHub user pwendell opened a pull request:

    https://github.com/apache/spark/pull/271

    SPARK-1352: Improve robustness of spark-submit script

    1. Better error messages when required arguments are missing.
    2. Support for unit testing cases where presented arguments are invalid.
    3. Bug fix: Only use environment varaibles when they are set (otherwise will cause NPE).
    4. A verbose mode to aid debugging.
    5. Visibility of several variables is set to private.
    6. Deprecation warning for existing scripts.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pwendell/spark spark-submit

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/271.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #271
    
----
commit 9146deffea1a1afcd5bde8823fd7b06a473fb33a
Author: Patrick Wendell <pwendell@gmail.com>
Date:   2014-03-30T04:47:51Z

    SPARK-1352: Improve robustness of spark-submit script
    
    1. Better error messages when required arguments are missing.
    2. Support for unit testing cases where presented arguments are invalid.
    3. Bug fix: Only use environment varaibles when they are set (otherwise will cause NPE).
    4. A verbose mode to aid debugging.
    5. Visibility of several variables is set to private.
    6. Deprecation warning for existing scripts.

----


> Improve robustness of spark-submit script
> -----------------------------------------
>
>                 Key: SPARK-1352
>                 URL: https://issues.apache.org/jira/browse/SPARK-1352
>             Project: Apache Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Patrick Wendell
>            Assignee: Patrick Wendell
>             Fix For: 1.0.0
>
>
> After playing a bit with the spark submit script there are a few issues:
> - There is no way to debug the output.
> - Some simple invalid inputs like
> ./spark-submit --help
> ./spark-submit
> cause null pointer exceptions
> - We should give users a deprecation warning for the old scripts.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message