On Mon, Feb 7, 2011 at 10:50 PM, Carl Steinbach <c...@cloudera.com> wrote:
> 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: > > It works > export ANT_OPTS="-Dhttp.proxyHost=myproxy.com -Dhttp.proxyPort=8080" > I am using a proxy. I am using cntlm for authentication. I have added localhost:1234 in ANT_OPTS ... as above before compiling > > > > 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 > > There is no folder as org.apache.hbase .... but there are folders as org.apache.{zookeeper},{commons} etc ... Shall i create one and place the downloaded hbase jar there ? > You can get a copy of the hbase-0.89 jar from archive.apache.org: > > http://archive.apache.org/dist/hbase/hbase-0.89.2010<http://archive.apache.org/dist/hbase/hbase-0.89.20100924/hbase-0.89.20100924/hbase-0.89.20100924.jar> > > This looks like a connection/DNS problem on your end. Can you please verify > this by attempting to load the following URL > 0924/hbase-0.89.20100924/hbase-0.89.20100924.jar<http://archive.apache.org/dist/hbase/hbase-0.89.20100924/hbase-0.89.20100924/hbase-0.89.20100924.jar> > > I downloaded the jar from here. Note that you'll need to rename the JAR before copying it to the Ivy cache. > Ok. Abhinav Narain