Missing artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.12.0 的解决 CDH版本hadoop的pom.xml

需要配置下载环境CDH库

        
            cloudera
            https://repository.cloudera.com/artifactory/cloudera-repos/
            
                true
            
            
                false
            
        

pom.xml加上这个就好了

举个例子:



    4.0.0

    com.aaa
    wc
    1.0-SNAPSHOT

    
        
            cloudera
            https://repository.cloudera.com/artifactory/cloudera-repos/
            
                true
            
            
                false
            
        
    

    
        
        
            org.apache.hadoop
            hadoop-client
            2.6.0-cdh5.12.0
        
        
        
            org.apache.hadoop
            hadoop-common
            2.6.0-cdh5.12.0
        
        
        
            org.apache.hadoop
            hadoop-hdfs
            2.6.0-cdh5.12.0
        
    

 

你可能感兴趣的:(大数据)