From bfeb0368dd93628301326a75be534ff6c4df99bd Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 10 Feb 2022 07:03:17 +0000 Subject: [PATCH] Correct environment variable for Spark driver memory under YARN --- bin/functions/workload_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/functions/workload_functions.sh b/bin/functions/workload_functions.sh index 49902daf1..f5a35499c 100644 --- a/bin/functions/workload_functions.sh +++ b/bin/functions/workload_functions.sh @@ -209,7 +209,7 @@ function run_spark_job() { if [[ -n "${SPARK_YARN_EXECUTOR_MEMORY:-}" ]]; then YARN_OPTS="${YARN_OPTS} --executor-memory ${SPARK_YARN_EXECUTOR_MEMORY}" fi - if [[ -n "${SPAKR_YARN_DRIVER_MEMORY:-}" ]]; then + if [[ -n "${SPARK_YARN_DRIVER_MEMORY:-}" ]]; then YARN_OPTS="${YARN_OPTS} --driver-memory ${SPARK_YARN_DRIVER_MEMORY}" fi fi