Skip to content

Commit 6054b16

Browse files
committed
HIVE-29206: Remove commons-lang from hive-exec shaded jar
1 parent d90574c commit 6054b16

File tree

33 files changed

+444
-47
lines changed

33 files changed

+444
-47
lines changed

accumulo-handler/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,21 @@
4343
<groupId>commons-collections</groupId>
4444
<artifactId>commons-collections</artifactId>
4545
</exclusion>
46+
<exclusion>
47+
<groupId>commons-lang</groupId>
48+
<artifactId>commons-lang</artifactId>
49+
</exclusion>
4650
</exclusions>
4751
</dependency>
4852
<dependency>
4953
<groupId>org.apache.accumulo</groupId>
5054
<artifactId>accumulo-fate</artifactId>
55+
<exclusions>
56+
<exclusion>
57+
<groupId>commons-lang</groupId>
58+
<artifactId>commons-lang</artifactId>
59+
</exclusion>
60+
</exclusions>
5161
</dependency>
5262
<dependency>
5363
<groupId>org.apache.accumulo</groupId>

cli/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,23 @@
145145
<groupId>org.apache.tez</groupId>
146146
<artifactId>tez-mapreduce</artifactId>
147147
<scope>test</scope>
148+
<exclusions>
149+
<exclusion>
150+
<groupId>commons-lang</groupId>
151+
<artifactId>commons-lang</artifactId>
152+
</exclusion>
153+
</exclusions>
148154
</dependency>
149155
<dependency>
150156
<groupId>org.apache.tez</groupId>
151157
<artifactId>tez-dag</artifactId>
152158
<scope>test</scope>
159+
<exclusions>
160+
<exclusion>
161+
<groupId>commons-lang</groupId>
162+
<artifactId>commons-lang</artifactId>
163+
</exclusion>
164+
</exclusions>
153165
</dependency>
154166
<dependency>
155167
<groupId>org.mockito</groupId>

common/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@
241241
<groupId>com.sun.jersey</groupId>
242242
<artifactId>jersey-client</artifactId>
243243
</exclusion>
244+
<exclusion>
245+
<groupId>commons-lang</groupId>
246+
<artifactId>commons-lang</artifactId>
247+
</exclusion>
244248
</exclusions>
245249
</dependency>
246250
<dependency>

druid-handler/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@
106106
<groupId>com.fasterxml.jackson.core</groupId>
107107
<artifactId>jackson-databind</artifactId>
108108
</exclusion>
109+
<exclusion>
110+
<groupId>commons-lang</groupId>
111+
<artifactId>commons-lang</artifactId>
112+
</exclusion>
109113
<exclusion>
110114
<groupId>org.apache.druid</groupId>
111115
<artifactId>druid-aws-common</artifactId>
@@ -151,6 +155,10 @@
151155
<groupId>com.google.code.findbugs</groupId>
152156
<artifactId>annotations</artifactId>
153157
</exclusion>
158+
<exclusion>
159+
<groupId>commons-lang</groupId>
160+
<artifactId>commons-lang</artifactId>
161+
</exclusion>
154162
</exclusions>
155163
<optional>true</optional>
156164
</dependency>

hbase-handler/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,23 @@
261261
<groupId>org.apache.tez</groupId>
262262
<artifactId>tez-mapreduce</artifactId>
263263
<scope>test</scope>
264+
<exclusions>
265+
<exclusion>
266+
<groupId>commons-lang</groupId>
267+
<artifactId>commons-lang</artifactId>
268+
</exclusion>
269+
</exclusions>
264270
</dependency>
265271
<dependency>
266272
<groupId>org.apache.tez</groupId>
267273
<artifactId>tez-dag</artifactId>
268274
<scope>test</scope>
275+
<exclusions>
276+
<exclusion>
277+
<groupId>commons-lang</groupId>
278+
<artifactId>commons-lang</artifactId>
279+
</exclusion>
280+
</exclusions>
269281
</dependency>
270282
<dependency>
271283
<groupId>org.mockito</groupId>

hcatalog/core/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,10 @@
303303
<groupId>ch.qos.reload4j</groupId>
304304
<artifactId>reload4j</artifactId>
305305
</exclusion>
306+
<exclusion>
307+
<groupId>commons-lang</groupId>
308+
<artifactId>commons-lang</artifactId>
309+
</exclusion>
306310
</exclusions>
307311
</dependency>
308312
<dependency>

iceberg/iceberg-handler/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@
6565
<groupId>org.apache.calcite</groupId>
6666
<artifactId>calcite-core</artifactId>
6767
<scope>test</scope>
68+
<exclusions>
69+
<exclusion>
70+
<groupId>commons-lang</groupId>
71+
<artifactId>commons-lang</artifactId>
72+
</exclusion>
73+
</exclusions>
6874
</dependency>
6975
<dependency>
7076
<groupId>com.esotericsoftware</groupId>
@@ -80,11 +86,23 @@
8086
<groupId>org.apache.tez</groupId>
8187
<artifactId>tez-dag</artifactId>
8288
<scope>test</scope>
89+
<exclusions>
90+
<exclusion>
91+
<groupId>commons-lang</groupId>
92+
<artifactId>commons-lang</artifactId>
93+
</exclusion>
94+
</exclusions>
8395
</dependency>
8496
<dependency>
8597
<groupId>org.apache.tez</groupId>
8698
<artifactId>tez-mapreduce</artifactId>
8799
<scope>test</scope>
100+
<exclusions>
101+
<exclusion>
102+
<groupId>commons-lang</groupId>
103+
<artifactId>commons-lang</artifactId>
104+
</exclusion>
105+
</exclusions>
88106
</dependency>
89107
<dependency>
90108
<groupId>org.apache.hive</groupId>

itests/hcatalog-unit/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,12 @@
215215
<artifactId>hadoop-yarn-server-tests</artifactId>
216216
<scope>test</scope>
217217
<classifier>tests</classifier>
218+
<exclusions>
219+
<exclusion>
220+
<groupId>commons-lang</groupId>
221+
<artifactId>commons-lang</artifactId>
222+
</exclusion>
223+
</exclusions>
218224
</dependency>
219225
<dependency>
220226
<groupId>com.sun.jersey</groupId>

itests/hive-blobstore/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@
211211
<groupId>com.sun.jersey</groupId>
212212
<artifactId>jersey-client</artifactId>
213213
</exclusion>
214+
<exclusion>
215+
<groupId>commons-lang</groupId>
216+
<artifactId>commons-lang</artifactId>
217+
</exclusion>
214218
</exclusions>
215219
</dependency>
216220
<dependency>
@@ -222,6 +226,10 @@
222226
<groupId>org.slf4j</groupId>
223227
<artifactId>slf4j-log4j12</artifactId>
224228
</exclusion>
229+
<exclusion>
230+
<groupId>commons-lang</groupId>
231+
<artifactId>commons-lang</artifactId>
232+
</exclusion>
225233
<exclusion>
226234
<groupId>commons-logging</groupId>
227235
<artifactId>commons-logging</artifactId>
@@ -232,6 +240,12 @@
232240
<groupId>org.apache.tez</groupId>
233241
<artifactId>tez-mapreduce</artifactId>
234242
<scope>test</scope>
243+
<exclusions>
244+
<exclusion>
245+
<groupId>commons-lang</groupId>
246+
<artifactId>commons-lang</artifactId>
247+
</exclusion>
248+
</exclusions>
235249
</dependency>
236250
<dependency>
237251
<groupId>org.apache.tez</groupId>
@@ -242,6 +256,10 @@
242256
<groupId>org.slf4j</groupId>
243257
<artifactId>slf4j-log4j12</artifactId>
244258
</exclusion>
259+
<exclusion>
260+
<groupId>commons-lang</groupId>
261+
<artifactId>commons-lang</artifactId>
262+
</exclusion>
245263
<exclusion>
246264
<groupId>commons-logging</groupId>
247265
<artifactId>commons-logging</artifactId>

itests/hive-jmh/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,21 @@
5757
<groupId>com.sun.jersey</groupId>
5858
<artifactId>jersey-client</artifactId>
5959
</exclusion>
60+
<exclusion>
61+
<groupId>commons-lang</groupId>
62+
<artifactId>commons-lang</artifactId>
63+
</exclusion>
6064
</exclusions>
6165
</dependency>
6266
<dependency>
6367
<groupId>org.apache.tez</groupId>
6468
<artifactId>tez-runtime-internals</artifactId>
69+
<exclusions>
70+
<exclusion>
71+
<groupId>commons-lang</groupId>
72+
<artifactId>commons-lang</artifactId>
73+
</exclusion>
74+
</exclusions>
6575
</dependency>
6676
<dependency>
6777
<groupId>org.apache.hive</groupId>
@@ -79,6 +89,12 @@
7989
<dependency>
8090
<groupId>org.apache.tez</groupId>
8191
<artifactId>tez-runtime-library</artifactId>
92+
<exclusions>
93+
<exclusion>
94+
<groupId>commons-lang</groupId>
95+
<artifactId>commons-lang</artifactId>
96+
</exclusion>
97+
</exclusions>
8298
</dependency>
8399
<dependency>
84100
<groupId>org.apache.hadoop</groupId>

0 commit comments

Comments
 (0)