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

Apache Spark commented on SPARK-20835:
--------------------------------------

User 'eatoncys' has created a pull request for this issue:
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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to