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

在CDH环境中集成Livy时遇到编译Parcel包错误,具体表现为无法从指定仓库下载commons-cli依赖。为解决此问题,需要手动下载`commons-cli-1.3-cloudera-pre-r1439998.jar`和`commons-cli-1.3-cloudera-pre-r1439998.pom`文件,将它们放入本地Maven仓库的相应目录下,以完成依赖的解析和编译。
摘要由CSDN通过智能技术生成

问题:
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库中就好了

<repositories>
  <!-- For our build of commons-cli -->
  <repository>
    <id>cloudera-external</id>
    <name>Cloudera External Repo</name>
    <url>https://repository.cloudera.com/artifactory/ext-release-local/</u
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值