Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # dev >> Unit test classpath trouble


Copy link to this message
-
Unit test classpath trouble
Please pardon the basic question. I'm building Pig 0.11.2-SNAPSHOT against
Hadoop 2.0.4. 'ant package' and full cluster tests work fine, but I'm not
having much luck with running the unit tests, 'ant test-core' or 'ant
test'. The problem looks to be a MR app classpath issue.

Sometimes: java.lang.NoClassDefFoundError:
org/apache/hadoop/yarn/client/YarnClientImpl

Sometimes: java.lang.NoClassDefFoundError:
org/apache/hadoop/mapred/ResourceMgrDelegate

A few Google searches have turned up no useful pointers. Maybe there is
something simple I am missing? How do you set up for running unit tests on
your dev boxes?

--
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)
+
Johnny Zhang 2013-05-10, 17:31
+
Andrew Purtell 2013-05-11, 01:19
+
Konstantin Boudnik 2013-05-11, 05:57
+
Andrew Purtell 2013-05-13, 02:13
+
Cheolsoo Park 2013-05-13, 04:12
+
Andrew Purtell 2013-05-13, 08:15
+
Konstantin Boudnik 2013-05-13, 06:45
+
Cheolsoo Park 2013-05-13, 16:35
+
Konstantin Boudnik 2013-05-14, 04:15
+
Johnny Zhang 2013-05-11, 01:49
+
Johnny Zhang 2013-05-13, 17:22
+
Rohini Palaniswamy 2013-05-13, 18:55
+
Johnny Zhang 2013-05-14, 17:12