|
29 | 29 | <name>Spark Project YARN</name>
|
30 | 30 | <properties>
|
31 | 31 | <sbt.project.name>yarn</sbt.project.name>
|
32 |
| - <jersey-1.version>1.19</jersey-1.version> |
33 | 32 | </properties>
|
34 | 33 |
|
35 |
| - <profiles> |
36 |
| - <profile> |
37 |
| - <id>hadoop-3</id> |
38 |
| - <activation> |
39 |
| - <activeByDefault>true</activeByDefault> |
40 |
| - </activation> |
41 |
| - <dependencies> |
42 |
| - <dependency> |
43 |
| - <groupId>org.apache.hadoop</groupId> |
44 |
| - <artifactId>hadoop-client-runtime</artifactId> |
45 |
| - <version>${hadoop.version}</version> |
46 |
| - <scope>${hadoop.deps.scope}</scope> |
47 |
| - </dependency> |
48 |
| - <dependency> |
49 |
| - <groupId>org.apache.hadoop</groupId> |
50 |
| - <artifactId>hadoop-client-minicluster</artifactId> |
51 |
| - <version>${hadoop.version}</version> |
52 |
| - <scope>test</scope> |
53 |
| - </dependency> |
54 |
| - <!-- Used by MiniYARNCluster --> |
55 |
| - <dependency> |
56 |
| - <groupId>org.bouncycastle</groupId> |
57 |
| - <artifactId>bcprov-jdk18on</artifactId> |
58 |
| - <scope>test</scope> |
59 |
| - </dependency> |
60 |
| - <dependency> |
61 |
| - <groupId>org.bouncycastle</groupId> |
62 |
| - <artifactId>bcpkix-jdk18on</artifactId> |
63 |
| - <scope>test</scope> |
64 |
| - </dependency> |
65 |
| - </dependencies> |
66 |
| - </profile> |
67 |
| - </profiles> |
68 |
| - |
69 | 34 | <dependencies>
|
70 | 35 | <dependency>
|
71 | 36 | <groupId>org.apache.spark</groupId>
|
|
102 | 67 | <groupId>org.apache.hadoop</groupId>
|
103 | 68 | <artifactId>hadoop-client-api</artifactId>
|
104 | 69 | <version>${hadoop.version}</version>
|
| 70 | + <scope>${hadoop.deps.scope}</scope> |
| 71 | + </dependency> |
| 72 | + <dependency> |
| 73 | + <groupId>org.apache.hadoop</groupId> |
| 74 | + <artifactId>hadoop-client-runtime</artifactId> |
| 75 | + <version>${hadoop.version}</version> |
| 76 | + <scope>${hadoop.deps.scope}</scope> |
| 77 | + </dependency> |
| 78 | + <dependency> |
| 79 | + <groupId>org.apache.hadoop</groupId> |
| 80 | + <artifactId>hadoop-client-minicluster</artifactId> |
| 81 | + <version>${hadoop.version}</version> |
| 82 | + <scope>test</scope> |
| 83 | + </dependency> |
| 84 | + <!-- Used by MiniYARNCluster --> |
| 85 | + <dependency> |
| 86 | + <groupId>javax.xml.bind</groupId> |
| 87 | + <artifactId>jaxb-api</artifactId> |
| 88 | + <scope>test</scope> |
| 89 | + </dependency> |
| 90 | + <dependency> |
| 91 | + <groupId>org.bouncycastle</groupId> |
| 92 | + <artifactId>bcprov-jdk18on</artifactId> |
| 93 | + <scope>test</scope> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>org.bouncycastle</groupId> |
| 97 | + <artifactId>bcpkix-jdk18on</artifactId> |
| 98 | + <scope>test</scope> |
105 | 99 | </dependency>
|
106 | 100 |
|
107 | 101 | <!-- Explicit listing of transitive deps that are shaded. Otherwise, odd compiler crashes. -->
|
|
135 | 129 | </dependency>
|
136 | 130 | <!-- End of shaded deps. -->
|
137 | 131 |
|
138 |
| - <!-- |
139 |
| - SPARK-10059: Explicitly add JSP dependencies for tests since the MiniYARN cluster needs them. |
140 |
| - --> |
141 |
| - <dependency> |
142 |
| - <groupId>org.eclipse.jetty.orbit</groupId> |
143 |
| - <artifactId>javax.servlet.jsp</artifactId> |
144 |
| - <version>2.2.0.v201112011158</version> |
145 |
| - <scope>test</scope> |
146 |
| - </dependency> |
147 |
| - <dependency> |
148 |
| - <groupId>org.eclipse.jetty.orbit</groupId> |
149 |
| - <artifactId>javax.servlet.jsp.jstl</artifactId> |
150 |
| - <version>1.2.0.v201105211821</version> |
151 |
| - <scope>test</scope> |
152 |
| - </dependency> |
153 |
| - |
154 | 132 | <dependency>
|
155 | 133 | <groupId>org.mockito</groupId>
|
156 | 134 | <artifactId>mockito-core</artifactId>
|
|
166 | 144 | <artifactId>byte-buddy-agent</artifactId>
|
167 | 145 | <scope>test</scope>
|
168 | 146 | </dependency>
|
169 |
| - |
170 |
| - <!-- |
171 |
| - Jersey 1 dependencies only required for YARN integration testing. Creating a YARN cluster |
172 |
| - in the JVM requires starting a Jersey 1-based web application. |
173 |
| - --> |
174 |
| - <dependency> |
175 |
| - <groupId>com.sun.jersey</groupId> |
176 |
| - <artifactId>jersey-core</artifactId> |
177 |
| - <scope>test</scope> |
178 |
| - <version>${jersey-1.version}</version> |
179 |
| - </dependency> |
180 |
| - <dependency> |
181 |
| - <groupId>com.sun.jersey</groupId> |
182 |
| - <artifactId>jersey-json</artifactId> |
183 |
| - <scope>test</scope> |
184 |
| - <version>${jersey-1.version}</version> |
185 |
| - </dependency> |
186 |
| - <dependency> |
187 |
| - <groupId>com.sun.jersey</groupId> |
188 |
| - <artifactId>jersey-server</artifactId> |
189 |
| - <scope>test</scope> |
190 |
| - <version>${jersey-1.version}</version> |
191 |
| - </dependency> |
192 |
| - <dependency> |
193 |
| - <groupId>com.sun.jersey.contribs</groupId> |
194 |
| - <artifactId>jersey-guice</artifactId> |
195 |
| - <scope>test</scope> |
196 |
| - <version>${jersey-1.version}</version> |
197 |
| - </dependency> |
198 |
| - <dependency> |
199 |
| - <groupId>com.sun.jersey</groupId> |
200 |
| - <artifactId>jersey-servlet</artifactId> |
201 |
| - <scope>test</scope> |
202 |
| - <version>${jersey-1.version}</version> |
203 |
| - </dependency> |
204 |
| - |
205 |
| - <!-- These dependencies are duplicated from core, because dependencies in the "provided" |
206 |
| - scope are not transitive.--> |
207 |
| - <dependency> |
208 |
| - <groupId>${hive.group}</groupId> |
209 |
| - <artifactId>hive-exec</artifactId> |
210 |
| - <classifier>${hive.classifier}</classifier> |
211 |
| - <scope>provided</scope> |
212 |
| - </dependency> |
213 |
| - <dependency> |
214 |
| - <groupId>${hive.group}</groupId> |
215 |
| - <artifactId>hive-metastore</artifactId> |
216 |
| - <scope>provided</scope> |
217 |
| - </dependency> |
218 |
| - <dependency> |
219 |
| - <groupId>org.apache.thrift</groupId> |
220 |
| - <artifactId>libthrift</artifactId> |
221 |
| - <scope>provided</scope> |
222 |
| - </dependency> |
223 |
| - <dependency> |
224 |
| - <groupId>org.apache.thrift</groupId> |
225 |
| - <artifactId>libfb303</artifactId> |
226 |
| - <scope>provided</scope> |
227 |
| - </dependency> |
228 | 147 | </dependencies>
|
229 | 148 |
|
230 | 149 | <build>
|
|
0 commit comments