spark-instrumented-optimizer/resource-managers/kubernetes
Adi Muraru 8ef4da753d [SPARK-27610][YARN] Shade netty native libraries
## What changes were proposed in this pull request?

Fixed the `spark-<version>-yarn-shuffle.jar` artifact packaging to shade the native netty libraries:
- shade the `META-INF/native/libnetty_*` native libraries when packagin
the yarn shuffle service jar. This is required as netty library loader
derives that based on shaded package name.
- updated the `org/spark_project` shade package prefix to `org/sparkproject`
(i.e. removed underscore) as the former breaks the netty native lib loading.

This was causing the yarn external shuffle service to fail
when spark.shuffle.io.mode=EPOLL

## How was this patch tested?
Manual tests

Closes #24502 from amuraru/SPARK-27610_master.

Authored-by: Adi Muraru <amuraru@adobe.com>
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
2019-05-07 10:47:36 -07:00
..
core [SPARK-27610][YARN] Shade netty native libraries 2019-05-07 10:47:36 -07:00
docker/src/main/dockerfiles/spark [SPARK-27178][K8S] add nss to the spark/k8s Dockerfile 2019-03-18 16:38:42 -07:00
integration-tests [SPARK-27610][YARN] Shade netty native libraries 2019-05-07 10:47:36 -07:00