You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivaram Venkataraman (JIRA)" <ji...@apache.org> on 2015/08/03 07:06:04 UTC

[jira] [Commented] (SPARK-8939) YARN EC2 default setting fails with IllegalArgumentException

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

Shivaram Venkataraman commented on SPARK-8939:
----------------------------------------------

[~andrewor14] I ran into this again today -- do you know where should we make a fix for this ? Is this in the Spark source code or can we just make a config option change in the EC2 scripts ?

> YARN EC2 default setting fails with IllegalArgumentException
> ------------------------------------------------------------
>
>                 Key: SPARK-8939
>                 URL: https://issues.apache.org/jira/browse/SPARK-8939
>             Project: Spark
>          Issue Type: Bug
>          Components: EC2
>    Affects Versions: 1.5.0
>            Reporter: Andrew Or
>
> I just set it up from scratch using the spark-ec2 script. Then I ran
> {code}
> bin/spark-shell --master yarn
> {code}
> which failed with
> {code}
> 15/07/09 03:44:29 ERROR SparkContext: Error initializing SparkContext.
> java.lang.IllegalArgumentException: Unknown/unsupported param List(--num-executors, , --executor-memory, 6154m, --executor-memory, 6154m, --executor-cores, 2, --name, Spark shell)
> {code}
> This goes away if I provide `--num-executors`, but we should fix the default.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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