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

Argument checking conflict in Yarn when dynamic allocation is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.3.2, 1.4.0
    • YARN
    • None

    Description

      When dynamic allocation is enabled in yarn with default parameter, numExecutors will be set to 0, but this will be failed in the following valideArgs(), here numExecutors must > 0, but for dynamic allocation, this executor number can be 0 (with default setting). The exception is shown as below:

      Exception in thread "main" java.lang.IllegalArgumentException: You must specify at least 1 executor!

      Attachments

        Activity

          People

            jerryshao Saisai Shao
            jerryshao Saisai Shao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: