This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch branch-0.12
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/branch-0.12 by this push:
new ad43e218bb [ZEPPELIN-6078] Reduce interpreter size
ad43e218bb is described below
commit ad43e218bb5fdc4b4ba446728caae8848acd7326
Author: Philipp Dallig <[email protected]>
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 <[email protected]>
(cherry picked from commit 6e5f30c1c6a58579b723d3d3b1ef8a575e814bd3)
Signed-off-by: Cheng Pan <[email protected]>
---
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>