Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 23705 invoked from network); 17 Feb 2011 04:19:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2011 04:19:34 -0000 Received: (qmail 82980 invoked by uid 500); 17 Feb 2011 04:19:33 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 82717 invoked by uid 500); 17 Feb 2011 04:19:31 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 82709 invoked by uid 99); 17 Feb 2011 04:19:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 04:19:30 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of abhinavnarain10@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-iw0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 04:19:24 +0000 Received: by iwn2 with SMTP id 2so2160320iwn.35 for ; Wed, 16 Feb 2011 20:19:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Eq/nJk7ogOi3OuFOj32PVsCgjXGSEMKmF8L3Fgusijw=; b=hi8jph/lrm1WgLNlRYG+RsXc/B0MyliibZIW4TmJn29M1qynF/7WkujPS9BHLX9iPT SQohCaMNeQpAHZaeHEIaCElT6R+V/+2LQy+vyoPwQ7BrS9rBGp9NpyLhH02+IAPo5ijY qIT3fbshCfchYygbgjhaFuVcsKR5Dt+uWct+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=c9UXy7lxtUESgHB+iLrrcuDB+14OYwvYo8c6LIaR53YphmuWBHW0lRToDpOO9zNTDa tGudPCZB9lsUtZzKTIM9YrG1tpFBigKQ28aMMCzdyNhydvENrVj8bFSmz/InV3uZs+Rm nV9Y/Ltp0bYD+AUULvCh7Xe3bauWZWOzrQQtk= MIME-Version: 1.0 Received: by 10.231.40.10 with SMTP id i10mr1210344ibe.63.1297916342599; Wed, 16 Feb 2011 20:19:02 -0800 (PST) Received: by 10.231.13.194 with HTTP; Wed, 16 Feb 2011 20:19:02 -0800 (PST) In-Reply-To: References: Date: Thu, 17 Feb 2011 09:49:02 +0530 Message-ID: Subject: Re: hadoop core 0.20.2 not found From: abhinav narain To: dev@hive.apache.org Cc: Carl Steinbach Content-Type: multipart/alternative; boundary=000325575c5a8c7f65049c72b2e6 X-Virus-Checked: Checked by ClamAV on apache.org --000325575c5a8c7f65049c72b2e6 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Feb 10, 2011 at 2:17 PM, Carl Steinbach 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 > 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 > 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 > > >> > > > > > > --000325575c5a8c7f65049c72b2e6--