I wanted to attach the debugger in eclipse to execution of a junit test in org.apache.hadoop.hive.ql.exec.vector.TestVectorizationContext.
From: Brock Noland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 13, 2013 7:02 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: debugging into unit tests with the new mvn build setup
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?
On Wed, Nov 13, 2013 at 6:58 PM, Eric Hanson (SQL SERVER) < [EMAIL PROTECTED]> wrote:
> 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<
> that would be great.
Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org