On Thu, Feb 10, 2011 at 2:17 PM, Carl Steinbach <c...@cloudera.com> wrote:
> Hi Abhinav, > > Assuming that your .ant directory already contains all of the Hive > dependencies, then you should be able to build Hive in an offline mode > using > the following ant command: > > % ant -Divy.cache.name=offline > > Setting ivy.cache.name=offline tells Ivy to look for dependencies in its > local cache (.ant/cache) before looking for things on the network. > FYI. This did not work. > > I also found a blog post that describes how to access Ivy resources over a > proxy via a local instance of cntlm: > > > http://ramathoughts.blogspot.com/2010/04/dealing-with-pentaho-bi-server-build.html > > I have already done these things. > In my opinion the cntlm route looks like the easiest to get working, and it > doesn't require you to make any special settings to your Hive build > properties. > > I did not make any changes to these properties. Just added cntlm and added ANT_OPTS variable in .bashrc. I don't know why it does not work and still contacts remote server even though offline mode is given in *ant* as instructed by you. regards, Abhinav > > On Tue, Feb 8, 2011 at 11:48 PM, abhinav narain > <abhinavnarai...@gmail.com>wrote: > > > I compiled the code on remote machine without a proxy and it worked. > > Then, I copied the .ant folder to my comp(in lab) and the hive code also > > > > Now, I can see some ivy*.xml files and jar files in the > > org.apache.hbase/hbase folder . > > > > I build the same code using the new .ant folder in my home and I again > get > > the same error as before of hbase-0.89.0-SNAPSHOT.jar not found. > > > > Is everyone on the development of hive having public ips and none behind > a > > proxy ? facing similar issues ? > > > > I am unable to understand, why is it unable to fetch the jars when they > are > > already present in the cache ? > > > > > > same error again : > > > > > > > http://repo1.maven.org/maven2/org/apache/hbase/hbase/0.89.0-SNAPSHOT/hbase-0.89.0-SNAPSHOT.pom > > [ivy:resolve] -- artifact > > org.apache.hbase#hbase;0.89.0-SNAPSHOT!hbase.jar(test-jar): > > [ivy:resolve] > > > > > http://repo1.maven.org/maven2/org/apache/hbase/hbase/0.89.0-SNAPSHOT/hbase-0.89.0-SNAPSHOT.jar > > [ivy:resolve] -- artifact > > org.apache.hbase#hbase;0.89.0-SNAPSHOT!hbase.jar: > > [ivy:resolve] > > > > > http://repo1.maven.org/maven2/org/apache/hbase/hbase/0.89.0-SNAPSHOT/hbase-0.89.0-SNAPSHOT.jar > > [ivy:resolve] ==== datanucleus-repo: tried > > [ivy:resolve] -- artifact > > org.apache.hbase#hbase;0.89.0-SNAPSHOT!hbase.jar: > > [ivy:resolve] > > > > > http://www.datanucleus.org/downloads/maven2/org/apache/hbase/hbase/0.89.0-SNAPSHOT/hbase-0.89.0-SNAPSHOT.jar > > [ivy:resolve] -- artifact > > org.apache.hbase#hbase;0.89.0-SNAPSHOT!hbase.jar(test-jar): > > [ivy:resolve] > > > > > http://www.datanucleus.org/downloads/maven2/org/apache/hbase/hbase/0.89.0-SNAPSHOT/hbase-0.89.0-SNAPSHOT.jar > > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > > [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: > > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > > [ivy:resolve] :: org.apache.hbase#hbase;0.89.0-SNAPSHOT: not > found > > > > Abhinav Narain > > > > On Wed, Feb 9, 2011 at 2:31 AM, Carl Steinbach <c...@cloudera.com> > wrote: > > > > > >> Hi Abhinav, > > >> > > >> Please make sure the .ant cache directory contains the following > files: > > >> > > >> .ant/cache/org.apache.hbase/hbase/jars/hbase-0.89.0-SNAPSHOT.jar > > >> > > >> > > > .ant/cache/org.apache.hbase/hbase/test-jars/hbase-0.89.0-SNAPSHOT-tests.jar > > >> > > >> I don't have any more suggestions if this does not work. Sorry. > > >> > > >> Carl > > >> > > > > > >