当前位置:网站首页>How to download the software package of CDH version

How to download the software package of CDH version

2022-06-25 23:21:00 chenyanlong_ v

because cdh All versions of the software involve copyright issues , So not all of the jar Package hosting to maven Go to the warehouse , It's hosted in CDH On your own server , So we default to maven The warehouse of cannot be downloaded , Need yourself Manually add repository Go to CDH Download from warehouse , The following two addresses are official documentation , Please check carefully

https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh5_maven_repo.html

https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh5_maven_repo_514x.html

for example :

establish Maven engineering , introduce pom rely on  

<repositories>
    <repository>
        <id>cloudera</id>
        <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-client</artifactId>
        <version>2.6.0-mr1-cdh5.14.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-common</artifactId>
        <version>2.6.0-cdh5.14.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-hdfs</artifactId>
        <version>2.6.0-cdh5.14.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-mapreduce-client-core</artifactId>
        <version>2.6.0-cdh5.14.0</version>
    </dependency>	

 

原网站

版权声明
本文为[chenyanlong_ v]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202180604411399.html