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

Yarn ClientBase.validateArgs memory checks wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • None
    • YARN
    • None

    Description

      The yarn ClientBase.validateArgs memory checks are no longer valid. It used to be that the overhead was taken out of what the user specified, now we add it on top of what the user specifies. We can probably just remove these.

      (args.amMemory <= memoryOverhead) -> ("Error: AM memory size must be" +
      "greater than: " + memoryOverhead),
      (args.executorMemory <= memoryOverhead) -> ("Error: Executor memory size" +
      "must be greater than: " + memoryOverhead.toString)

      Attachments

        Activity

          People

            andrewor14 Andrew Or
            tgraves Thomas Graves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: