Hadoop-lzop-mater安装执行 ant compile-native tar 报错

执行 ant compile-native tar 报错
错误: error getting http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0 jar to.....

因无法连接到外网,所以无法从build.xml里指定的url下载所需包

在内网搭建服务器,将报错提示的软件包放入服务器目录中,并修改build.xml中ivy_repo_url。

ivysetting.xml中
value值也需修改成自定义服务器

重新执行 ant compile-native tar

报错:commons-logging#commons-logging;1.0.4: configuration not found in commons-logging#commons-logging;1.0.4:
      'master'. It was required from com.hadoop.gplcompression#Hadoop-GPL-Compression;0.4.15 commons-logging

修改ivy.xml中conf="commons-logging->master"/>将master改成default


重新执行 ant compile-native tar成功

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26585184/viewspace-752121/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/26585184/viewspace-752121/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值