Hi Abhinav,

> [ivy:resolve]   Host repository.apache.org not found. url=
>
> https://repository.apache.org/content/repositories/snapshots/org/apache/hbase/hbase/0.89.0-SNAPSHOT/maven-metadata.xml
>
>
This looks like a connection/DNS problem on your end. Can you please verify
this by attempting to load the following URL in a browser:

https://repository.apache.org/content/repositories/snapshots/org/apache/hbase/hbase/0.89.0-SNAPSHOT

If this works then chances are that you're accessing the web through a
proxy, in which case you need to tell Ant which proxy to use, e.g:

export ANT_OPTS="-Dhttp.proxyHost=myproxy.com -Dhttp.proxyPort=8080"


> There is no .ivy folder in my home directory.
>  There are these two jars : hbase-0.20.3-test.jar  hbase-0.20.3.jar in
> ~/hive-0.6.0/src/hbase-handler/lib$
> Do u want me to use them some how ?
>
>
The Hive build actually sets ivy.home to ${user.home}/.ant, so if you want
to manually satisfy the dependency you will need to put the JAR here:

$HOME/.ant/cache/org.apache.hbase/hbase/jars/hbase-0.89.0-SNAPSHOT.jar

You can get a copy of the hbase-0.89 jar from archive.apache.org:

http://archive.apache.org/dist/hbase/hbase-0.89.20100924/hbase-0.89.20100924/hbase-0.89.20100924.jar

Note that you'll need to rename the JAR before copying it to the Ivy cache.

Hope this helps.

Carl

Reply via email to