[SPARK-31900][SPARK-SUBMIT] Client memory passed unvalidated to the JVM Xmx#28720
[SPARK-31900][SPARK-SUBMIT] Client memory passed unvalidated to the JVM Xmx#28720gerashegalov wants to merge 2 commits intoapache:masterfrom
Conversation
|
ok to test |
|
Test build #123546 has finished for PR 28720 at commit
|
|
Retest this please. |
|
Test build #124240 has finished for PR 28720 at commit
|
|
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
srowen
left a comment
There was a problem hiding this comment.
This is a whole lot of extra code to catch one particular type of typo, which even produces an error that narrows it down pretty far. I'm not sure it's worthwhile.
|
thanks for looking at the PR @srowen. Since there are multiple culprits potentially responsible for the issue I thought a patch was warrant. And I like to see consistent behavior between similar settings. However, I also understand the tradeoff of accepting more code for future maintenance. |
An example of a command that fail in the client mode but would not in the cluster mode or if the same value were used for
spark.executor.memoryalso note that the same message is produced by the JVM makes it hard to identify which of the configs SPARK_DAEMON_MEMORY, SPARK_DRIVER_MEMORY, etc was responsible
Why are the changes needed?
easier ops/diagnostics, more uniform behavior
Does this PR introduce any user-facing change?
fix-only change
How was this patch tested?