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 >> hcat tests with MVN


Copy link to this message
-
Re: hcat tests with MVN
Regarding the first issue, which test(s) specifically are you have an
issue with?

I was able to get TestJobIDParser to run while in the HCatalog directory via:

mvn test

and

mvn test -Dtest= TestJobIDParser

On Fri, Nov 22, 2013 at 1:35 PM, Eugene Koifman
<[EMAIL PROTECTED]> wrote:
> To answer the 2nd question:
>
> mvn surefire-report:report -Daggregate=true
>
> (or report-only if tests already ran)
>
>
>
> On Fri, Nov 22, 2013 at 10:12 AM, Eugene Koifman
> <[EMAIL PROTECTED]>wrote:
>
>> Hi,
>> I've noticed a couple of problems.
>>
>>
>> 1) running "mvn tests" from hcatalog/ runs the tests under core and
>> hcatalog-pig-adapter submodules but not any of the other modules
>> (webhcat/java-client, webhcat/svr, etc).  Though if I cd to the appropriate
>> submodule ant run "mvn test" the tests are run.
>>
>> 2) "mvn surefire-report:report" from hcatalog generates .html files with
>> test results in the ./target/site/surefire-report.html of each submodule,
>> but not a single .html that includes results for all tests.
>>  (hcatalog/target/site/surefire-report.html is generated but contains 0
>> tests)
>>
>> Does anyone have suggestions on how to fix these?
>>
>> Thanks,
>> Eugene
>>
>>
>
> --
> 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.

--
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