This is an automated email from the ASF dual-hosted git repository. chengpan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new 6e5f30c1c6 [ZEPPELIN-6078] Reduce interpreter size 6e5f30c1c6 is described below commit 6e5f30c1c6a58579b723d3d3b1ef8a575e814bd3 Author: Philipp Dallig <philipp.dal...@gmail.com> AuthorDate: Sat Oct 5 00:42:59 2024 +0200 [ZEPPELIN-6078] Reduce interpreter size ### What is this PR for? This PR removes the hadoop-runtime in all interpreters that are already contained in the zeppelin-interpreter-shaded.jar. This shrinks the Zeppelin distribution image back to its normal size. ### What type of PR is it? Hot Fix ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-6078 ### How should this be tested? * CI * [ ] local tests ### Screenshots (if appropriate) New image is is nearly back to normal  ### Questions: * Does the license files need to update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Closes #4816 from Reamer/jarsize. Signed-off-by: Cheng Pan <cheng...@apache.org> --- zeppelin-interpreter-parent/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zeppelin-interpreter-parent/pom.xml b/zeppelin-interpreter-parent/pom.xml index c589158ec4..0d047d4428 100644 --- a/zeppelin-interpreter-parent/pom.xml +++ b/zeppelin-interpreter-parent/pom.xml @@ -36,6 +36,7 @@ <groupId>${project.groupId}</groupId> <artifactId>zeppelin-interpreter-shaded</artifactId> <version>${project.version}</version> + <scope>provided</scope> </dependency> <dependency> @@ -43,6 +44,12 @@ <artifactId>zeppelin-interpreter</artifactId> <version>${project.version}</version> <scope>provided</scope> + <exclusions> + <exclusion> + <groupId>org.apache.hadoop</groupId> + <artifactId>*</artifactId> + </exclusion> + </exclusions> </dependency> <dependency>