spark-instrumented-optimizer/build
copperybean 56c21e8e5a [SPARK-36856][BUILD] Get correct JAVA_HOME for macOS
### What changes were proposed in this pull request?
Currently, JAVA_HOME may be set to path "/usr" improperly, now JAVA_HOME is fetched from command "/usr/libexec/java_home" for macOS.

### Why are the changes needed?
Command "./build/mvn xxx" will be stuck on MacOS 11.4, because JAVA_HOME is set to path "/usr" improperly.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
`build/mvn -DskipTests package` passed on `macOS 11.5.2`.

Closes #34111 from copperybean/work.

Authored-by: copperybean <copperybean.zhang@gmail.com>
Signed-off-by: Gengliang Wang <gengliang@apache.org>
2021-09-28 17:27:02 +08:00
..
mvn [SPARK-36856][BUILD] Get correct JAVA_HOME for macOS 2021-09-28 17:27:02 +08:00
sbt [SPARK-35887][BUILD] Find and set JAVA_HOME from javac location 2021-06-24 21:09:18 -07:00
sbt-launch-lib.bash [SPARK-36393][BUILD] Try to raise memory for GHA 2021-08-05 01:31:35 -07:00
spark-build-info [SPARK-34327][BUILD] Strip passwords from inlining into build information while releasing 2021-02-03 15:02:35 +09:00
util.sh [SPARK-35887][BUILD] Find and set JAVA_HOME from javac location 2021-06-24 21:09:18 -07:00