File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 372
372
<artifactId >junit-interface</artifactId >
373
373
<scope >test</scope >
374
374
</dependency >
375
+ <!--
376
+ Hack to exclude org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:tests.
377
+ For some reasons, SBT starts to pull the dependencies of 'hadoop-yarn-server-tests' above
378
+ with 'tests' classifier after upgrading SBT 1.3 (SPARK-21708). Otherwise, some tests might
379
+ fail, see also SPARK-33104.
380
+ -->
381
+ <dependency >
382
+ <groupId >org.apache.hadoop</groupId >
383
+ <artifactId >hadoop-yarn-server-resourcemanager</artifactId >
384
+ <version >${yarn.version} </version >
385
+ <scope >test</scope >
386
+ </dependency >
375
387
</dependencies >
376
388
<dependencyManagement >
377
389
<dependencies >
1399
1411
<groupId >com.sun.jersey.contribs</groupId >
1400
1412
<artifactId >*</artifactId >
1401
1413
</exclusion >
1414
+ <exclusion >
1415
+ <groupId >org.apache.hadoop</groupId >
1416
+ <artifactId >hadoop-yarn-server-resourcemanager</artifactId >
1417
+ </exclusion >
1402
1418
</exclusions >
1403
1419
</dependency >
1404
1420
<dependency >
You can’t perform that action at this time.
0 commit comments