GitHub user holdenk opened a pull request:

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

    [SPARK-10332][CORE]  Fix yarn spark executor validation

    From Jira:
    Running spark-submit with yarn with number-executors equal to 0 when not 
using dynamic allocation should error out.
    In spark 1.5.0 it continues and ends up hanging.
    yarn.ClientArguments still has the check so something else must have 
changed.
    spark-submit --master yarn --deploy-mode cluster --class 
org.apache.spark.examples.SparkPi --num-executors 0 ....
    spark 1.4.1 errors with:
    java.lang.IllegalArgumentException:
    Number of executors was 0, but must be at least 1
    (or 0 if dynamic executor allocation is enabled).

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

    $ git pull https://github.com/holdenk/spark 
SPARK-10332-spark-submit-to-yarn-executors-0-message

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

    https://github.com/apache/spark/pull/8580.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 #8580
    
----
commit f7e5b00097ac76b9282f5c6d204d00b7a848a572
Author: Holden Karau <[email protected]>
Date:   2015-09-03T00:57:19Z

    SPARK-10332-fix-yarn-spark-executor-validation

----


---
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