已经快 3 个小时了,我无法构建它。请任何人提供步骤。所有文件都建议使用 hcatalog-src-0.5.0-incuvating.tar.gz 但这在互联网上的任何地方都不可用(据我搜索)。然后我下载了分支 0.5.0 但根据文档 http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-1.2.0/ds_HCatalog/install.pdf
对于 0.5.0 版,您必须使用命令构建 l=
ant_home/bin/ant -Dhcatalog.version=0.5.0 -Dforrest.home=forrest_home tar
现在的问题是 build.xml 没有名为“tar”的目标。所以我只是浏览了 build.xml 并尝试了使用目标作为“包”的相同命令
ant_home/bin/ant -Dhcatalog.version=0.5.0 -Dforrest.home=forrest_home package
但随后它向我显示错误。
BUILD FAILED
C:\Users\admnilesh\Desktop\hcatalog-branch-0.5\build.xml:71: The following error
occurred while executing this line:
C:\Users\nilesh\Desktop\hcatalog-branch-0.5\build-support\ant\deploy.xml:67:
Unable to resolve artifact: Unable to get dependency information: Unable to read
the metadata file for artifact 'com.sun.jersey:jersey-core:jar': Cannot find pa
rent: net.java:jvnet-parent for project: com.sun.jersey:jersey-project:pom:1.9.1
for project com.sun.jersey:jersey-project:pom:1.9.1
com.sun.jersey:jersey-core:jar:1.9.1
from the specified remote repositories:
apache.snapshots (http://repository.apache.org/snapshots),
central (http://repo1.maven.org/maven2),
glassfish-repository (http://maven.glassfish.org/content/groups/glassfish),
datanucleus (http://www.datanucleus.org/downloads/maven2)
Path to dependency:
1) org.apache.hcatalog:webhcat:jar:0.5.0-SNAPSHOT
请帮帮我。