Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> getting testreport with maven build, and getting lib folder to run end-to-end tests


Copy link to this message
-
RE: getting testreport with maven build, and getting lib folder to run end-to-end tests
My workaround for looking at the output of one test is to eyeball the TEST*.xml file under

ql\target\surefire-reports

For people who are just changing code in ql, you can copy ql\target\hive-exec-0.13.0-SNAPSHOT.jar over the top of the old jar in the lib directory in your Hive installation, and you should be able to run end-to-end ad hoc tests from the Hive CLI.

Eric

-----Original Message-----
From: Brock Noland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 31, 2013 6:21 PM
To: [EMAIL PROTECTED]
Subject: Re: getting testreport with maven build, and getting lib folder to run end-to-end tests

It looks like we could use this plugin
http://maven.apache.org/surefire/maven-surefire-report-plugin/ to generate a report. I just created https://issues.apache.org/jira/browse/HIVE-5720 for that.

The later question depends on
https://issues.apache.org/jira/browse/HIVE-5611.
On Thu, Oct 31, 2013 at 8:03 PM, Eric Hanson (SQL SERVER) < [EMAIL PROTECTED]> wrote:

> In the new Hive maven build, after you run a test case, how do you do
> the equivalent of "ant testreport" and view the test output html file?
>
> Also, I used to copy build\dist\lib to the lib folder of my one-box
> hive installation and run it to do end-to-end ad hoc testing of the
> newly compiled hive bits. Now the build\dist\lib folder is not there.
> How do I do the equivalent?
>
> Can somebody put the answers into
> https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ
> too?
>
> Thanks,
> Eric
>

--
Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB