spark-instrumented-optimizer/resource-managers/kubernetes
Andrew Korzhuev 185f5bc7dd [SPARK-23449][K8S] Preserve extraJavaOptions ordering
For some JVM options, like `-XX:+UnlockExperimentalVMOptions` ordering is necessary.

## What changes were proposed in this pull request?

Keep original `extraJavaOptions` ordering, when passing them through environment variables inside the Docker container.

## How was this patch tested?

Ran base branch a couple of times and checked startup command in logs. Ordering differed every time. Added sorting, ordering was consistent to what user had in `extraJavaOptions`.

Author: Andrew Korzhuev <korzhuev@andrusha.me>

Closes #20628 from andrusha/patch-2.
2018-02-26 10:28:45 -08:00
..
core [SPARK-22962][K8S] Fail fast if submission client local files are used 2018-01-18 14:44:22 -08:00
docker/src/main/dockerfiles/spark [SPARK-23449][K8S] Preserve extraJavaOptions ordering 2018-02-26 10:28:45 -08:00