Re: Error running unit tests from eclipse (weird classpath issue)

2014-07-23 Thread Nick Dimiduk
I'm sure google knows; I don't. For what it's worth, I run tests via maven and attach the debugger to the remote process when necessary. -n On Tuesday, July 22, 2014, Pavel Chadnov pavelchad...@gmail.com wrote: How can I do it in eclipse. I do this in console and it works On Tuesday, July

Re: Error running unit tests from eclipse (weird classpath issue)

2014-07-23 Thread Xiaobing Zhou
Hi Pavel, I usually do interactive debugging by using -Dmaven.surefire.debug, e.g. mvn -Dmaven.surefire.debug test -Phadoop-2 -Dhadoop-23.version=2.4.0.2081 -Dtest=TestHiveHBaseStorageHandler#testTableCreateExternal. Maven will launch a VM running as a server and listen any incoming debug

Subject: Error running unit tests from eclipse (weird classpath issue)

2014-07-22 Thread Pavel Chadnov
Hey Guys, I'm trying to run Hive unit tests on eclipse and have few failures. One of the interesting one is throwing this exception as shown below when ran from eclipse, this one passes fine from the console. java.lang.IncompatibleClassChangeError: Implementing class at

Error running unit tests from eclipse (weird classpath issue)

2014-07-22 Thread Pavel Chadnov
Hey Guys, I'm trying to run Hive unit tests on eclipse and have few failures. One of the interesting one is throwing this exception as shown below when ran from eclipse, this one passes fine from the console. java.lang.IncompatibleClassChangeError: Implementing class at

Error running unit tests from eclipse (weird classpath issue)

2014-07-22 Thread Pavel Chadnov
Hey Guys, I'm trying to run Hive unit tests on eclipse and have few failures. One of the interesting one is throwing this exception as shown below when ran from eclipse, this one passes fine from the console. java.lang.IncompatibleClassChangeError: Implementing class at

Re: Error running unit tests from eclipse (weird classpath issue)

2014-07-22 Thread Nick Dimiduk
Are you specifying a hadoop profile via eclipse? Ie, from maven, -Phadoop-2. On Tue, Jul 22, 2014 at 4:03 PM, Pavel Chadnov pavelchad...@gmail.com wrote: Hey Guys, I'm trying to run Hive unit tests on eclipse and have few failures. One of the interesting one is throwing this exception as

Re: Error running unit tests from eclipse (weird classpath issue)

2014-07-22 Thread Pavel Chadnov
How can I do it in eclipse. I do this in console and it works On Tuesday, July 22, 2014, Nick Dimiduk ndimi...@gmail.com wrote: Are you specifying a hadoop profile via eclipse? Ie, from maven, -Phadoop-2. On Tue, Jul 22, 2014 at 4:03 PM, Pavel Chadnov pavelchad...@gmail.com