[ 
https://issues.apache.org/jira/browse/SPARK-20835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-20835.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

Issue resolved by pull request 18060
[https://github.com/apache/spark/pull/18060]

> It should exit directly when the --total-executor-cores parameter is setted 
> less than 0 when submit a application
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-20835
>                 URL: https://issues.apache.org/jira/browse/SPARK-20835
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.1.1
>            Reporter: eaton
>             Fix For: 2.3.0
>
>
> n my test, the submitted app running with out an error when the 
> --total-executor-cores less than 0
> and given the warnings:
> "2017-05-22 17:19:36,319 WARN org.apache.spark.scheduler.TaskSchedulerImpl: 
> Initial job has not accepted any resources; check your cluster UI to ensure 
> that workers are registered and have sufficient resources";
> It should exit directly when the --total-executor-cores parameter is setted 
> less than 0 when submit a application



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to