File tree Expand file tree Collapse file tree 4 files changed +7
-21
lines changed
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi
src/test/java/org/apache/hadoop/yarn/csi Expand file tree Collapse file tree 4 files changed +7
-21
lines changed Original file line number Diff line number Diff line change 2727
2828 <properties >
2929 <protobuf .version>3.6.1</protobuf .version>
30- <guava .version>20.0</guava .version>
3130 <grpc .version>1.26.0</grpc .version>
3231 <os-maven-plugin .version>1.5.0.Final</os-maven-plugin .version>
3332 </properties >
3433
3534 <dependencies >
3635 <dependency >
37- <groupId >com.google.guava</groupId >
38- <artifactId >guava</artifactId >
39- <version >${guava.version} </version >
36+ <groupId >org.apache.hadoop.thirdparty</groupId >
37+ <artifactId >hadoop-shaded-guava</artifactId >
4038 </dependency >
4139 <dependency >
4240 <groupId >com.google.protobuf</groupId >
209207 </execution >
210208 </executions >
211209 </plugin >
212- <plugin >
213- <groupId >com.google.code.maven-replacer-plugin</groupId >
214- <artifactId >replacer</artifactId >
215- <executions >
216- <execution >
217- <id >replace-guava</id >
218- <configuration >
219- <skip >true</skip >
220- </configuration >
221- </execution >
222- </executions >
223- </plugin >
224210 </plugins >
225211 </build >
226212</project >
Original file line number Diff line number Diff line change 1717 */
1818package org .apache .hadoop .yarn .csi .adaptor ;
1919
20- import com .google .common .collect .ImmutableList ;
21- import com .google .common .collect .ImmutableMap ;
2220import csi .v0 .Csi ;
2321import org .apache .commons .io .FileUtils ;
2422import org .apache .hadoop .conf .Configuration ;
2523import org .apache .hadoop .net .NetUtils ;
2624import org .apache .hadoop .security .UserGroupInformation ;
2725import org .apache .hadoop .service .ServiceStateException ;
2826import org .apache .hadoop .test .GenericTestUtils ;
27+ import org .apache .hadoop .thirdparty .com .google .common .collect .ImmutableList ;
28+ import org .apache .hadoop .thirdparty .com .google .common .collect .ImmutableMap ;
2929import org .apache .hadoop .yarn .api .CsiAdaptorProtocol ;
3030import org .apache .hadoop .yarn .api .CsiAdaptorPlugin ;
3131import org .apache .hadoop .yarn .api .impl .pb .client .CsiAdaptorProtocolPBClientImpl ;
Original file line number Diff line number Diff line change 1717 */
1818package org .apache .hadoop .yarn .csi .adaptor ;
1919
20- import com .google .common .collect .ImmutableList ;
21- import com .google .common .collect .ImmutableMap ;
20+ import org . apache . hadoop . thirdparty . com .google .common .collect .ImmutableList ;
21+ import org . apache . hadoop . thirdparty . com .google .common .collect .ImmutableMap ;
2222import org .apache .hadoop .yarn .api .protocolrecords .ValidateVolumeCapabilitiesRequest ;
2323import org .apache .hadoop .yarn .api .protocolrecords .ValidateVolumeCapabilitiesRequest .VolumeCapability ;
2424import org .apache .hadoop .yarn .api .protocolrecords .impl .pb .ValidateVolumeCapabilitiesRequestPBImpl ;
Original file line number Diff line number Diff line change 2020
2121import csi .v0 .Csi ;
2222import org .apache .commons .io .FileUtils ;
23- import com .google .common .io .Files ;
23+ import org . apache . hadoop . thirdparty . com .google .common .io .Files ;
2424import org .junit .AfterClass ;
2525import org .junit .Assert ;
2626import org .junit .Assume ;
You can’t perform that action at this time.
0 commit comments