Return-Path: Delivered-To: apmail-hadoop-hive-user-archive@minotaur.apache.org Received: (qmail 78659 invoked from network); 20 Feb 2010 20:20:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Feb 2010 20:20:48 -0000 Received: (qmail 8723 invoked by uid 500); 20 Feb 2010 20:20:47 -0000 Delivered-To: apmail-hadoop-hive-user-archive@hadoop.apache.org Received: (qmail 8682 invoked by uid 500); 20 Feb 2010 20:20:47 -0000 Mailing-List: contact hive-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-user@hadoop.apache.org Delivered-To: mailing list hive-user@hadoop.apache.org Received: (qmail 8673 invoked by uid 99); 20 Feb 2010 20:20:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 20:20:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [124.30.188.115] (HELO EXCASHUBB.onmobile.com) (124.30.188.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 20:20:39 +0000 Received: from MUSCA.onmobile.com ([172.16.28.141]) by EXCASHUBB.onmobile.com ([172.16.28.185]) with mapi; Sun, 21 Feb 2010 01:52:01 +0530 From: Vidyasagar Venkata Nallapati To: "hive-user@hadoop.apache.org" Date: Sun, 21 Feb 2010 01:51:53 +0530 Subject: RE: Can't get started with Hive Thread-Topic: Can't get started with Hive Thread-Index: AcqyZ75i0nqxqzCNSPiTe9CzQPM0UQAAcjrg Message-ID: References: <1eabbac31002201159r30d5428eq2ff76e6ed5456acf@mail.gmail.com> <1eabbac31002201200i7f70c565s5311a32636471bfa@mail.gmail.com> In-Reply-To: <1eabbac31002201200i7f70c565s5311a32636471bfa@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C6610575F0C4EA4690A74DFE4C84279101FA73C47EMUSCAonmobile_" MIME-Version: 1.0 --_000_C6610575F0C4EA4690A74DFE4C84279101FA73C47EMUSCAonmobile_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Try these % cd ~/.ant/cache/hadoop/core/sources % wget http://archive.apache.org/dist/hadoop/core/hadoop-0.17.2.1/hadoop-0.= 17.2.1.tar.gz % wget http://archive.apache.org/dist/hadoop/core/hadoop-0.18.3/hadoop-0.18= .3.tar.gz % wget http://archive.apache.org/dist/hadoop/core/hadoop-0.19.0/hadoop-0.19= .0.tar.gz % wget http://archive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-0.20= .0.tar.gz % wget http://archive.apache.org/dist/hadoop/core/hadoop-0.20.1/hadoop-0.20= .1.tar.gz % cd /hive-directory % svn update In the ivy/ivysettings.xml There will be two occurrences of 'checkmodified=3D"true"' change both the '= checkmodified=3D"true"' to 'checkmodified=3D"false"' % ant -Dhadoop.version=3D0.20.0 clean package From: Something Something [mailto:mailinglists19@gmail.com] Sent: Sunday, February 21, 2010 1:31 AM To: hive-user@hadoop.apache.org Subject: Re: Can't get started with Hive When I run with the 'verbose' option: ant -verbose package I get: /home/training/hive/build.xml:93: The following error occurred while execut= ing this line: /home/training/hive/shims/build.xml:55: The following error occurred while = executing this line: /home/training/hive/build-common.xml:180: impossible to resolve dependencie= s: resolve failed - see output for details at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Proje= ctHelper.java:508) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418) at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289) On Sat, Feb 20, 2010 at 11:59 AM, Something Something > wrote: I am trying to get started with Hive by following instructions on the 'Gett= ing Started' page: http://wiki.apache.org/hadoop/Hive/GettingStarted Here's the problem I am facing: 1) Ran the following command successfully: svn co http://svn.apache.org/repos/asf/hadoop/hive/trunk hive This resulted in following messssage: Checked out revision 912198. 2) cd hive 3) ant package This gives me following error: [ivy:retrieve] :: resolution report :: resolve 5232ms :: artifacts dl 30906= 7ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 4 | 0 | 0 | 0 || 4 | 0 | --------------------------------------------------------------------- [ivy:retrieve] [ivy:retrieve] :: problems summary :: [ivy:retrieve] :::: WARNINGS [ivy:retrieve] [FAILED ] hadoop#core;0.20.0!hadoop.tar.gz(sourc= e): Downloaded file size doesn't match expected Content Length for http://a= rchive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.gz. Plea= se retry. (309028ms) [ivy:retrieve] [FAILED ] hadoop#core;0.20.0!hadoop.tar.gz(sourc= e): (0ms) [ivy:retrieve] =3D=3D=3D=3D hadoop-source: tried [ivy:retrieve] http://archive.apache.org/dist/hadoop/core/hadoop-0.20= .0/hadoop-0.20.0.tar.gz [ivy:retrieve] =3D=3D=3D=3D apache-snapshot: tried [ivy:retrieve] https://repository.apache.org/content/repositories/sna= pshots/hadoop/core/0.20.0/hadoop-0.20.0.tar.gz [ivy:retrieve] =3D=3D=3D=3D maven2: tried [ivy:retrieve] http://repo1.maven.org/maven2/hadoop/core/0.20.0/core-= 0.20.0.tar.gz [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] :: FAILED DOWNLOADS :: [ivy:retrieve] :: ^ see resolution messages for details ^ :: [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] :: hadoop#core;0.20.0!hadoop.tar.gz(source) [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS BUILD FAILED /home/training/hive/build.xml:148: The following error occurred while execu= ting this line: /home/training/hive/build.xml:93: The following error occurred while execut= ing this line: /home/training/hive/shims/build.xml:55: The following error occurred while = executing this line: /home/training/hive/build-common.xml:180: impossible to resolve dependencie= s: resolve failed - see output for details Total time: 5 minutes 16 seconds I retried quite a few times. Trying to figure out where the 'expected Content Length' is specified. Ple= ase help in resolving this issue. Thanks. ________________________________ DISCLAIMER: The information in this message is confidential and may be lega= lly privileged. It is intended solely for the addressee. Access to this mes= sage by anyone else is unauthorized. If you are not the intended recipient,= any disclosure, copying, or distribution of the message, or any action or = omission taken by you in reliance on it, is prohibited and may be unlawful.= Please immediately contact the sender if you have received this message in= error. Further, this e-mail may contain viruses and all reasonable precaut= ion to minimize the risk arising there from is taken by OnMobile. OnMobile = is not liable for any damage sustained by you as a result of any virus in t= his e-mail. All applicable virus checks should be carried out by you before= opening this e-mail or any attachment thereto. Thank you - OnMobile Global Limited. --_000_C6610575F0C4EA4690A74DFE4C84279101FA73C47EMUSCAonmobile_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

Try these

% cd ~/.ant/cache/hadoop/core/sources

% wget http://archive.apache.org/dist/hadoop/core/hadoop-0.17.2.1/hadoop-0.17.2.1.= tar.gz
% wget http://archive.apache.org/dist/hadoop/core/hadoop-0.18.3/hadoop-0.18.3.tar.= gz

% wget http://archive.apache.org/dist/hadoop/core/hadoop-0.19.0/hadoop-0.19.0.tar.= gz
% wget http://archive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.= gz
% wget http://archive.apache.org/dist/hadoop/core/hadoop-0.20.1/hadoop-0.20.1.tar.= gz

% cd /hive-directory
% svn update

In the ivy/ivysettings.xml

There will be two occurrences of ‘checkmodified=3D"true= "’ change both the ‘checkmodified=3D"true"’= ; to ‘checkmodified=3D"false"’  

% ant -Dhadoop.version=3D0.20.0 clean package

 

 

 

From: Somethin= g Something [mailto:mailinglists19@gmail.com]
Sent: Sunday, February 21, 2010 1:31 AM
To: hive-user@hadoop.apache.org
Subject: Re: Can't get started with Hive

 

When I run with the '= verbose' option:  ant -verbose package I get:

/home/training/hive/build.xml:93: The following error occurred while execut= ing this line:
/home/training/hive/shims/build.xml:55: The following error occurred while = executing this line:
/home/training/hive/build-common.xml:180: impossible to resolve dependencie= s:
    resolve failed - see output for details
    at org.apache.tools.ant.ProjectHelper.addLocationToBuild= Exception(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:41= 8)
    at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.j= ava:289)



On Sat, Feb 20, 2010 at 11:59 AM, Something Somethin= g <mailinglists19@gmail.com<= /a>> wrote:

I am trying to get started with Hive by following in= structions on the 'Getting Started' page: http://wiki.apache.org/hadoop/Hive/GettingStarted

Here's the problem I am facing:

1)  Ran the following command successfully:

svn co http://svn.apache.org/repos/asf/hadoop/hive/trunk hive=


 
 

This resulted in foll= owing messssage:

Checked out revision 912198.

2)  cd hive
3)  ant package

This gives me following error:
[ivy:retrieve] :: resolution report :: resolve 5232ms :: artifacts dl 30906= 7ms
    --------------------------------------------------------= -------------
    |         &= nbsp;        |    &n= bsp;       modules    &nb= sp;       ||   artifacts  = ; |
    |       conf  &n= bsp;    | number| search|dwnlded|evicted|| number|dwnlded|     --------------------------------------------------------= -------------
    |      default   = ;  |   4   |   0   | &nbs= p; 0   |   0   ||   4   |=    0   |
    --------------------------------------------------------= -------------
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]         [FAILED  &nb= sp;  ] hadoop#core;0.20.0!hadoop.tar.gz(source): Downloaded file size = doesn't match expected Content Length for http://archive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.= gz. Please retry. (309028ms)
[ivy:retrieve]         [FAILED  &nb= sp;  ] hadoop#core;0.20.0!hadoop.tar.gz(source):  (0ms)
[ivy:retrieve]     =3D=3D=3D=3D hadoop-source: tried
[ivy:retrieve]       http://archive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.= gz
[ivy:retrieve]     =3D=3D=3D=3D apache-snapshot: tried
[ivy:retrieve]       https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.= 20.0/hadoop-0.20.0.tar.gz
[ivy:retrieve]     =3D=3D=3D=3D maven2: tried
[ivy:retrieve]       http://repo1.maven.org/maven2/hadoop/core/0.20.0/core-0.20.0.tar.gz
[ivy:retrieve]         ::::::::::::::::::::::= ::::::::::::::::::::::::
[ivy:retrieve]         ::   &n= bsp;          FAILED DOWNLOADS=             ::
[ivy:retrieve]         :: ^ see resolution me= ssages for details  ^ ::
[ivy:retrieve]         ::::::::::::::::::::::= ::::::::::::::::::::::::
[ivy:retrieve]         :: hadoop#core;0.20.0!= hadoop.tar.gz(source)
[ivy:retrieve]         ::::::::::::::::::::::= ::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/home/training/hive/build.xml:148: The following error occurred while execu= ting this line:
/home/training/hive/build.xml:93: The following error occurred while execut= ing this line:
/home/training/hive/shims/build.xml:55: The following error occurred while = executing this line:
/home/training/hive/build-common.xml:180: impossible to resolve dependencie= s:
    resolve failed - see output for details

Total time: 5 minutes 16 seconds


I retried quite a few times.
Trying to figure out where the 'expected Content Length' is specified. = ; Please help in resolving this issue.  Thanks.

 



DISCLAIMER: The information = in this message is confidential and may be legally privileged. It is intend= ed solely for the addressee. Access to this message by anyone else is unaut= horized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or = omission taken by you in reliance on it, is prohibited and may be unlawful.= Please immediately contact the sender if you have received this message in= error. Further, this e-mail may contain viruses and all reasonable precaution to minimize the risk arising= there from is taken by OnMobile. OnMobile is not liable for any damage sus= tained by you as a result of any virus in this e-mail. All applicable virus= checks should be carried out by you before opening this e-mail or any attachment thereto.
Thank you - OnMobile Global Limited.
--_000_C6610575F0C4EA4690A74DFE4C84279101FA73C47EMUSCAonmobile_--