它已經差不多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如何構建Apache HCatalog 0.5.0?
版本0.5.0你必須建立L =使用命令
ant_home/bin/ant -Dhcatalog.version=0.5.0 -Dforrest.home=forrest_home tar
現在的問題是,這個build.xml不有一個名爲'焦油'的目標。所以我只是瀏覽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
請幫我一把。
我已經下載了0.5版本,但這個問題仍然存在。我可以知道任何我該如何解決? – Kevin