Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
3.4.0
-
None
-
None
Description
if you set initial memory(set by "spark.executor.extraJavaOptions=-Xms{XXX}G" ) larger than maximum memory(set by "spark.executor.memory")
Eg.
spark.executor.memory=1G
spark.executor.extraJavaOptions=-Xms2G
from the driver process you just see executor failures with no warning, since the more meaningful errors are buried in the executor logs.
Eg., on Yarn, you see:
Error occurred during initialization of VM Initial heap size set to a larger value than the maximum heap size
Instead we should just fail fast with a clear error message in the driver logs.