对于CDH6版本去找寻相关的依赖的方法:点击CDH6相应的版本号去找对应的groupId,artifactId,version
CDH对应依赖寻找步骤:
1.指向cloudera的库
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <repositories> <repository> <id>cloudera</id> <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url> </repository> </repositories> </project>·2.CDH相关依赖具体版本号查询网址:
CDH6.0.X:https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_cdh_60_maven_artifacts.html
CDH6.1.X:https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_cdh_61_maven_artifacts.html
CDH6.2.X:https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_cdh_62_maven_artifacts.html
CDH6.3.X:https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_cdh_63_maven_artifacts.html
3.查询网址界面对应version
CDH5的maven依赖寻找方式相同,现附上CDH5maven依赖查询地址:https://docs.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh5_maven_repo.html