hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brock Noland <br...@cloudera.com>
Subject Re: hive unit test report question
Date Sat, 20 Sep 2014 15:31:21 GMT
In the past I have felt like failsafe was poorly implemented. This is shy I
chose the approach we currently have. I don't remember the exact details
and thus I am open to seeing what hive with failsafe looks like.

FWIW - Hive tests take several days to execute outside of ptest and
surefire will almost certainly run out of memory parsing the TEST XML files
when run serially.
On Sep 8, 2014 12:35 AM, "Nick Dimiduk" <ndimiduk@gmail.com> wrote:

> IMHO, would be better to wire up the integration suite via failsafe plugin
> (surefire for IT) and link the modules correctly. This is on (admittedly,
> near the bottom of) my todo list. See also HBase poms for an example.
>
> -n
>
> On Saturday, September 6, 2014, wzc <wzc1989@gmail.com> wrote:
>
> > hi all:
> >  I would like to create a jenkins job to run both hive ut and integration
> > test. Right now it seems that I have to execute mulitple maven goals in
> > different poms:
> >
> > mvn clean install  surefire-report:report -Daggregate=true   -Phadoop-2
> > > cd itests
> > > mvn clean install  surefire-report:report -Daggregate=true   -Phadoop-2
> >
> >
> > I would like to use one maven jenkins job and right now I cant figure out
> > how to configure job propery to execute  maven goals  in different poms
> > (maybe I can add post-build step to execute another shell?).  Each hive
> > ptest2 job can run all tests and I would like to know the configure it
> use.
> >
> > Any help is appreciated.
> >
> > Thanks.
> >
> >
> >
> >
> >
> >
> >
> > 2014-01-14 14:05 GMT+08:00 Shanyu Zhao <shzhao@microsoft.com
> > <javascript:;>>:
> >
> > > Thanks guys for your help!
> > >
> > > I found Eugene's comments are particularly helpful. With
> > > "-Daggregate=true" I now can see an aggregated unit test results.
> > >
> > > Btw, I didn't mean to run itests, I just want to run all "unit tests".
> I
> > > think in the FAQ they made it clear that itests are disconnected from
> the
> > > top level pom.xml.
> > >
> > > Shanyu
> > >
> > > -----Original Message-----
> > > From: Eugene Koifman [mailto:ekoifman@hortonworks.com <javascript:;>]
> > > Sent: Monday, January 13, 2014 4:06 PM
> > > To: dev@hive.apache.org <javascript:;>
> > > Subject: Re: hive unit test report question
> > >
> > > I think you want to add
> > > -Daggregate=true
> > > you should then have target/site/surefire-report.html in the module
> where
> > > you ran the command
> > >
> > >
> > >
> > > On Mon, Jan 13, 2014 at 2:54 PM, Szehon Ho <szehon@cloudera.com
> > <javascript:;>> wrote:
> > >
> > > > Hi Shanyu,
> > > >
> > > > Are you running in /itests?  The unit tests are in there, and are not
> > > > run if you are running from the root.
> > > >
> > > > Thanks
> > > > Szehon
> > > >
> > > >
> > > > On Mon, Jan 13, 2014 at 1:59 PM, Shanyu Zhao <shzhao@microsoft.com
> > <javascript:;>>
> > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I was trying to build hive trunk, run all unit tests and generate
> > > > reports,
> > > > > but I'm not sure what's the correct command line. I was using:
> > > > > mvn clean install -Phadoop-2 -DskipTests mvn test
> > > > > surefire-report:report -Phadoop-2 But the reports in the root
> folder
> > > > > and several other projects (such as
> > > > > metastore) are empty with no test results. And I couldn't find a
> > > > > summary page for all unit tests.
> > > > >
> > > > > I was trying to avoid "mvn site" because it seems to take forever
> to
> > > > > finish. Am I using the correct commands? How can I get a report
> like
> > > > > the one in the precommit report:
> > > > >
> > > >
> http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/827/testRep
> > > > ort/
> > > > > ?
> > > > >
> > > > > I really appreciate your help!
> > > > >
> > > > > Shanyu
> > > > >
> > > >
> > >
> > > --
> > > CONFIDENTIALITY NOTICE
> > > NOTICE: This message is intended for the use of the individual or
> entity
> > > to which it is addressed and may contain information that is
> > confidential,
> > > privileged and exempt from disclosure under applicable law. If the
> reader
> > > of this message is not the intended recipient, you are hereby notified
> > that
> > > any printing, copying, dissemination, distribution, disclosure or
> > > forwarding of this communication is strictly prohibited. If you have
> > > received this communication in error, please contact the sender
> > immediately
> > > and delete it from your system. Thank You.
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message