zjuwangg opened a new pull request, #49090:
URL: https://github.com/apache/spark/pull/49090

   ### What changes were proposed in this pull request?
   
   Reset the executor's env memory related config when resource profile is not 
as the default resource profile!
   
   
   ### Why are the changes needed?
   When multiple resource profile exists in the same spark application, now the 
executor's memory related config is not override by resource profile's memory 
size, which will cause maxOffHeap in `UnifiedMemoryManager` is not correct.
   See https://issues.apache.org/jira/browse/SPARK-50421 for more details
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Tests in our inner spark version and jobs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   
   
   This is a backporting from https://github.com/apache/spark/pull/48963 to 
branch 3.5 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to