Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-8939

YARN EC2 default setting fails with IllegalArgumentException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • EC2
    • None

    Description

      I just set it up from scratch using the spark-ec2 script. Then I ran

      bin/spark-shell --master yarn
      

      which failed with

      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)
      

      This goes away if I provide `--num-executors`, but we should fix the default.

      Attachments

        Activity

          People

            shivaram Shivaram Venkataraman
            andrewor14 Andrew Or
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: