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

Executor memory config is incorrect when multiple stage level resource profiles works

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.1.3, 3.2.4, 3.3.4, 3.4.4, 3.5.3
    • None
    • Scheduler
    • None
    • None

    Description

      https://issues.apache.org/jira/browse/SPARK-27495 has imported a great feature to help adjust stage's level resource profile(abbv rp), we are observing some config is not as expected when multiple resource profile works.
      When one stage assigned rp2 different with default rp, the `UnifiedMemoryManager` will still get old conf as the default rp, which will cause maxOffHeapMemory is still the old value!

      protected[this] val maxOffHeapMemory = conf.get(MEMORY_OFFHEAP_SIZE)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Terry1897 Terry Wang
              Thomas Graves Thomas Graves
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 96h
                  96h
                  Remaining:
                  Remaining Estimate - 96h
                  96h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified