ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Hadoop-lzop-mater安装执行 ant compile-native tar 报错

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

原创 Linux操作系统 作者:leegstar 时间:2013-01-05 09:41:00 0 删除 编辑
执行 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博客 ” ,链接:https://blog.itpub.net/26585184/viewspace-752121/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-12-28

  • 博文量
    31
  • 访问量
    142660