hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Hanson (SQL SERVER)" <Eric.N.Han...@microsoft.com>
Subject RE: debugging into unit tests with the new mvn build setup
Date Thu, 14 Nov 2013 22:15:56 GMT
Hi Brock,

I wanted to attach the debugger in eclipse to execution of a junit test in org.apache.hadoop.hive.ql.exec.vector.TestVectorizationContext.

Eric

-----Original Message-----
From: Brock Noland [mailto:brock@cloudera.com] 
Sent: Wednesday, November 13, 2013 7:02 PM
To: dev@hive.apache.org
Cc: hive-dev@hadoop.apache.org
Subject: Re: debugging into unit tests with the new mvn build setup

Hi,

Specifically which test are you referring to?

A true unit test is debuggable via the debug menu without any additional work (e.g. the new
UDF tests or TestMacroSemanticAnalyzer).  The so called "unit" tests that submit MR jobs might
be a little more work, but are you looking to debug the parent process or the child process?

Brock


On Wed, Nov 13, 2013 at 6:58 PM, Eric Hanson (SQL SERVER) < Eric.N.Hanson@microsoft.com>
wrote:

> Hi,
>
> How do you attach the debugger in eclipse to debug into a single unit 
> test now, with the new mvn build setup? If somebody could add 
> instructions for this into the Hive Developer FAQ< 
> https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ>, 
> that would be great.
>
> Thanks,
> Eric
>



--
Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org

Mime
View raw message