Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ case class GlutenAutoAdjustStageResourceProfile(glutenConf: GlutenConfig, spark:
if (!SQLConf.get.adaptiveExecutionEnabled) {
return plan
}
if (!sparkConf.getBoolean(GlutenCoreConfig.SPARK_OFFHEAP_ENABLED_KEY, defaultValue = false)) {
logWarning(
s"${GlutenCoreConfig.SPARK_OFFHEAP_ENABLED_KEY} is not enabled, " +
s"Gluten auto adjust stage resource profile will not work.")
return plan
}
// Starting here, the resource profile may differ between stages. Configure resource settings
// using the default profile to prevent any impact from the previous stage. If a new resource
// profile is applied, the settings will be updated accordingly.
Expand Down
Loading