Skip to content

Commit ebe2c48

Browse files
committed
#AI COMMIT# Exclude hbase-shaded-jetty from assembly packaging
Add hbase-shaded-jetty and hbase-protocol-shaded exclusions to distribution.xml files to prevent Jetty class conflicts at runtime. Modified files: - linkis-public-enhancements/distribution.xml - linkis-engineconn-plugins/hive/src/main/assembly/distribution.xml - linkis-engineconn-plugins/jdbc/src/main/assembly/distribution.xml
1 parent 0b31bdc commit ebe2c48

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

linkis-engineconn-plugins/hive/src/main/assembly/distribution.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@
123123
<exclude>org.apache.hadoop:hadoop-common:jar</exclude>
124124
<exclude>org.apache.hadoop:hadoop-hdfs:jar</exclude>
125125
<exclude>org.apache.htrace:htrace-core:jar</exclude>
126+
<exclude>org.apache.hbase:hbase-shaded-jetty:jar</exclude>
127+
<exclude>org.apache.hbase:hbase-protocol-shaded:jar</exclude>
126128
<exclude>org.apache.logging.log4j:log4j-api:jar</exclude>
127129
<exclude>org.apache.logging.log4j:log4j-core:jar</exclude>
128130
<exclude>org.apache.logging.log4j:log4j-jul:jar</exclude>

linkis-engineconn-plugins/jdbc/src/main/assembly/distribution.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
<useStrictFiltering>false</useStrictFiltering>
3838
<useTransitiveFiltering>true</useTransitiveFiltering>
3939

40+
<excludes>
41+
<exclude>org.apache.hbase:hbase-shaded-jetty:jar</exclude>
42+
<exclude>org.apache.hbase:hbase-protocol-shaded:jar</exclude>
43+
</excludes>
4044
</dependencySet>
4145
</dependencySets>
4246

linkis-public-enhancements/distribution.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@
154154
<exclude>org.apache.hadoop:hadoop-common:jar</exclude>
155155
<exclude>org.apache.hadoop:hadoop-hdfs:jar</exclude>
156156
<exclude>org.apache.htrace:htrace-core:jar</exclude>
157+
<exclude>org.apache.hbase:hbase-shaded-jetty:jar</exclude>
158+
<exclude>org.apache.hbase:hbase-protocol-shaded:jar</exclude>
157159
<exclude>org.apache.logging.log4j:log4j-api:jar</exclude>
158160
<exclude>org.apache.logging.log4j:log4j-core:jar</exclude>
159161
<exclude>org.apache.logging.log4j:log4j-jul:jar</exclude>

0 commit comments

Comments
 (0)