GitHub user vanzin opened a pull request:

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

    [SPARK-11249][launcher] Throw error is app resource is not provided.

    Without this, the code would build an invalid spark-submit command line,
    and a more cryptic error would be presented to the user. Also, expose
    a constant that allows users to set a dummy resource in cases where
    they don't need an actual resource file; for backwards compatibility,
    that uses the same "spark-internal" resource that Spark itself uses.
    
    Tested via unit tests, run-example, spark-shell, and running the
    thrift server with mixed spark and hive command line arguments.

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

    $ git pull https://github.com/vanzin/spark SPARK-11249

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

    https://github.com/apache/spark/pull/12909.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 #12909
    
----
commit 0ab4a2864f17189898376ff4f7e02e8b7b2c416e
Author: Marcelo Vanzin <[email protected]>
Date:   2016-05-04T21:28:13Z

    [SPARK-11249][launcher] Throw error is app resource is not provided.
    
    Without this, the code would build an invalid spark-submit command line,
    and a more cryptic error would be presented to the user. Also, expose
    a constant that allows users to set a dummy resource in cases where
    they don't need an actual resource file; for backwards compatibility,
    that uses the same "spark-internal" resource that Spark itself uses.
    
    Tested via unit tests, run-example, spark-shell, and running the
    thrift server with mixed spark and hive command line arguments.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to