File tree Expand file tree Collapse file tree 6 files changed +24
-27
lines changed
Expand file tree Collapse file tree 6 files changed +24
-27
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ dependencies {
3131 // Make sure wrong Scala version is not pulled in.
3232 exclude group : " org.scala-lang" , module : " scala-library"
3333 }
34+ // TODO(KUDU-2500): Spark uses reflection which requires the annotations at runtime.
35+ compile libs. yetusAnnotations
3436
3537 provided libs. scalaLibrary
3638 provided libs. sparkAvro
3739 provided libs. sparkCore
3840 provided libs. sparkSql
3941 provided libs. slf4jApi
4042
41- optional libs. yetusAnnotations
42-
4343 testCompile project(path : " :kudu-client" , configuration : " shadowTest" )
4444 testCompile project(path : " :kudu-spark" , configuration : " test" )
4545 testCompile libs. junit
Original file line number Diff line number Diff line change 7070 </exclusion >
7171 </exclusions >
7272 </dependency >
73+ <!-- TODO(KUDU-2500): Spark uses reflection which requires the annotations at runtime. -->
74+ <dependency >
75+ <groupId >org.apache.yetus</groupId >
76+ <artifactId >audience-annotations</artifactId >
77+ <version >${yetus.version} </version >
78+ </dependency >
7379
7480 <dependency >
7581 <groupId >com.databricks</groupId >
102108 <scope >provided</scope >
103109 </dependency >
104110
105- <dependency >
106- <groupId >org.apache.yetus</groupId >
107- <artifactId >audience-annotations</artifactId >
108- <version >${yetus.version} </version >
109- <optional >true</optional >
110- </dependency >
111-
112-
113111 <dependency >
114112 <groupId >org.apache.kudu</groupId >
115113 <artifactId >kudu-${spark.version.label}_${scala.binary.version}</artifactId >
Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ dependencies {
2222 compile project(path : " :kudu-client" , configuration : " shadow" )
2323 compile project(path : " :kudu-client-tools" , configuration : " shadow" )
2424 compile project(path : " :kudu-spark" , configuration : " shadow" )
25+ // TODO(KUDU-2500): Spark uses reflection which requires the annotations at runtime.
26+ compile libs. yetusAnnotations
2527
2628 provided libs. scalaLibrary
2729 provided libs. sparkAvro
2830 provided libs. sparkCore
2931 provided libs. sparkSql
3032 provided libs. slf4jApi
3133
32- optional libs. yetusAnnotations
33-
3434 testCompile project(path : " :kudu-client" , configuration : " shadowTest" )
3535 testCompile project(path : " :kudu-spark" , configuration : " test" )
3636 testCompile libs. junit
Original file line number Diff line number Diff line change 4747 <artifactId >kudu-${spark.version.label}_${scala.binary.version}</artifactId >
4848 <version >${project.version} </version >
4949 </dependency >
50+ <!-- TODO(KUDU-2500): Spark uses reflection which requires the annotations at runtime. -->
51+ <dependency >
52+ <groupId >org.apache.yetus</groupId >
53+ <artifactId >audience-annotations</artifactId >
54+ <version >${yetus.version} </version >
55+ </dependency >
5056
5157 <dependency >
5258 <groupId >com.databricks</groupId >
9197 <scope >provided</scope >
9298 </dependency >
9399
94- <dependency >
95- <groupId >org.apache.yetus</groupId >
96- <artifactId >audience-annotations</artifactId >
97- <version >${yetus.version} </version >
98- <optional >true</optional >
99- </dependency >
100-
101100 <dependency >
102101 <groupId >org.apache.kudu</groupId >
103102 <artifactId >kudu-client</artifactId >
Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ apply from: "$rootDir/gradle/shadow.gradle"
2020
2121dependencies {
2222 compile project(path : " :kudu-client" , configuration : " shadow" )
23+ // TODO(KUDU-2500): Spark uses reflection which requires the annotations at runtime.
24+ compile libs. yetusAnnotations
2325
2426 provided libs. scalaLibrary
2527 provided libs. sparkCore
2628 provided libs. sparkSql
2729 provided libs. slf4jApi
2830
29- optional libs. yetusAnnotations
3031
3132 testCompile project(path : " :kudu-client" , configuration : " shadowTest" )
3233 testCompile libs. junit
Original file line number Diff line number Diff line change 2929 <artifactId >kudu-client</artifactId >
3030 <version >${project.version} </version >
3131 </dependency >
32+ <!-- TODO(KUDU-2500): Spark uses reflection which requires the annotations at runtime. -->
33+ <dependency >
34+ <groupId >org.apache.yetus</groupId >
35+ <artifactId >audience-annotations</artifactId >
36+ <version >${yetus.version} </version >
37+ </dependency >
3238
3339 <dependency >
3440 <groupId >org.apache.spark</groupId >
6773 <scope >provided</scope >
6874 </dependency >
6975
70- <dependency >
71- <groupId >org.apache.yetus</groupId >
72- <artifactId >audience-annotations</artifactId >
73- <version >${yetus.version} </version >
74- <optional >true</optional >
75- </dependency >
76-
7776 <dependency >
7877 <groupId >org.apache.kudu</groupId >
7978 <artifactId >kudu-client</artifactId >
You can’t perform that action at this time.
0 commit comments