livy 集成cdh中编译parcel包出现问题解决

问题:
ERROR] Failed to execute goal on project cloudera-manager-schema: Could not resolve dependencies for project com.cloudera.cmf.schema:cloudera-manager-schema:jar:5.12.0: Failure to find commons-cli:commons-cli:jar:1.3-cloudera-pre-r1439998 in http://maven.zmops.cc:8081/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced -> [Help 1]

解决方式:在/data/bigdata/livy_zeppelin_cdh_csd_parcels/cm_ext/cm-schema路径中,看pom.xml的文件中,大概93行左右出现,在这个连接的地方把包下载下来放到自己的mvn库中就好了


  
  
    cloudera-external
    Cloudera External Repo
    https://repository.cloudera.com/artifactory/ext-release-local/
    
      false
    
  

这个不知是什么原因,mvn从这个路径下下载不下来jar包,所以只好手动下载对应的commons-cli包,下载路径是
https://repository.cloudera.com/artifactory/ext-release-local/commons-cli/commons-cli/1.3-cloudera-pre-r1439998/
这个路径下的
commons-cli-1.3-cloudera-pre-r1439998.jar
commons-cli-1.3-cloudera-pre-r1439998.pom
两个文件,放在对应的本地mvn仓库中,我的mvn的repository的地址是/data/repository
所以把上面两个文件放到下面的目录中:/data/repository/commons-cli/commons-cli/1.3-cloudera-pre-r1439998

你可能感兴趣的:(遇到问题,livy)