You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Radhika Malik <ra...@hotmail.com> on 2012/05/01 04:14:12 UTC

Getting Started with Hive

A group of us is trying to write some code on Hive as a project for a class. However, we are having trouble getting started as we have never worked on this before.

We are trying to follow the instructions on--

https://cwiki.apache.org/Hive/howtocontribute.html

We are able to check out the source code and build the source using "ant clean package". However, when we try to run the unit tests "ant clean package test tar -logfile ant.log" the log file indicates that the build failed with this error--

BUILD FAILED
/Users/RadhikaMalik/Documents/MIT/Spring2012/6.830/hive-trunk/build.xml:317: The following error occurred while executing this line:
/Users/RadhikaMalik/Documents/MIT/Spring2012/6.830/hive-trunk/build.xml:335: The following error occurred while executing this line:
/Users/RadhikaMalik/Documents/MIT/Spring2012/6.830/hive-trunk/build-common.xml:434: Tests failed!

Complete test report file has beenattached as well. We have tried this on Mac OSX 10.8 as well as on Ubuntu and it failed both times so we're not sure what's going on.. Any help on getting us set up would be really appreciated.

Thanks!
Radhika


 		 	   		  

RE: Getting Started with Hive

Posted by Radhika Malik <ra...@hotmail.com>.
Hey Edward,

Thanks for your reply. Unfortunately we still get the same error. Could there possibly be a problem in our setup?

Thanks!
Radhika

> Date: Tue, 1 May 2012 09:45:39 -0400
> Subject: Re: Getting Started with Hive
> From: edlinuxguru@gmail.com
> To: dev@hive.apache.org
> 
> I think there is some bug with hive-builtins. It does not get
> generated until package, but you can not test without it.
> 
> so you need to do
> ant package
> ant test
> 
> 
> On Mon, Apr 30, 2012 at 10:14 PM, Radhika Malik <ra...@hotmail.com> wrote:
> > A group of us is trying to write some code on Hive as a project for a class.
> > However, we are having trouble getting started as we have never worked on
> > this before.
> >
> > We are trying to follow the instructions on--
> >
> > https://cwiki.apache.org/Hive/howtocontribute.html
> >
> > We are able to check out the source code and build the source using "ant
> > clean package". However, when we try to run the unit tests "ant clean
> > package test tar -logfile ant.log" the log file indicates that the build
> > failed with this error--
> >
> > BUILD FAILED
> > /Users/RadhikaMalik/Documents/MIT/Spring2012/6.830/hive-trunk/build.xml:317:
> > The following error occurred while executing this line:
> > /Users/RadhikaMalik/Documents/MIT/Spring2012/6.830/hive-trunk/build.xml:335:
> > The following error occurred while executing this line:
> > /Users/RadhikaMalik/Documents/MIT/Spring2012/6.830/hive-trunk/build-common.xml:434:
> > Tests failed!
> >
> > Complete test report file has beenattached as well. We have tried this on
> > Mac OSX 10.8 as well as on Ubuntu and it failed both times so we're not sure
> > what's going on.. Any help on getting us set up would be really appreciated.
> >
> > Thanks!
> > Radhika
> >
> >
> >
 		 	   		  

Re: Getting Started with Hive

Posted by Edward Capriolo <ed...@gmail.com>.
I think there is some bug with hive-builtins. It does not get
generated until package, but you can not test without it.

so you need to do
ant package
ant test


On Mon, Apr 30, 2012 at 10:14 PM, Radhika Malik <ra...@hotmail.com> wrote:
> A group of us is trying to write some code on Hive as a project for a class.
> However, we are having trouble getting started as we have never worked on
> this before.
>
> We are trying to follow the instructions on--
>
> https://cwiki.apache.org/Hive/howtocontribute.html
>
> We are able to check out the source code and build the source using "ant
> clean package". However, when we try to run the unit tests "ant clean
> package test tar -logfile ant.log" the log file indicates that the build
> failed with this error--
>
> BUILD FAILED
> /Users/RadhikaMalik/Documents/MIT/Spring2012/6.830/hive-trunk/build.xml:317:
> The following error occurred while executing this line:
> /Users/RadhikaMalik/Documents/MIT/Spring2012/6.830/hive-trunk/build.xml:335:
> The following error occurred while executing this line:
> /Users/RadhikaMalik/Documents/MIT/Spring2012/6.830/hive-trunk/build-common.xml:434:
> Tests failed!
>
> Complete test report file has beenattached as well. We have tried this on
> Mac OSX 10.8 as well as on Ubuntu and it failed both times so we're not sure
> what's going on.. Any help on getting us set up would be really appreciated.
>
> Thanks!
> Radhika
>
>
>