ble as well.
>>> >> >
>>> >> > Currently I'm getting :
>>> >> >
>>> >> > Starting DataNode 0 with dfs.data.dir:
>>> >> > build/test/data/dfs/data/data1,build/test/data/dfs/data/data2
>>> >> > Starting DataNod
a/data1,build/test/data/dfs/data/data2
>> >> > Starting DataNode 1 with dfs.data.dir:
>> >> > build/test/data/dfs/data/data3,build/test/data/dfs/data/data4
>> >> > Generating rack names for tasktrackers
>> >> > Generating host names for tasktracke
jetty-ext libs in the classpath and I set the
> >> > hadoop.log.dir and the SAX parser correctly.
> >> >
> >> > This is all I have for my test class so far, I'm not even doing
> >> anything
> >> > yet:
> >> >
> >> > pu
g
>> anything
>> > yet:
>> >
>> > public class TestDoop extends ClusterMapReduceTestCase {
>> >
>> > @Test
>> > public void testDoop() throws Exception {
>> > System.setProperty("hadoop.log.dir", &q
("hadoop.log.dir", "~/test-logs");
> > System.setProperty("javax.xml.parsers.SAXParserFactory",
> > "com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl");
> >
> > setUp();
> >
> > System.out.println("done.");
> > }
> >
> > Thanks!
> >
> > bc
> >
>
> --
> View this message in context:
> http://www.nabble.com/Extending-ClusterMapReduceTestCase-tp22440254p23024597.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.
>
>
--
Alpha Chapters of my book on Hadoop are available
http://www.apress.com/book/view/9781430219422
quot;javax.xml.parsers.SAXParserFactory",
> "com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl");
>
> setUp();
>
> System.out.println("done.");
> }
>
> Thanks!
>
> bc
>
--
View this message in context:
http://www.nabble.com/Extending-ClusterMapReduceTestCase-tp22440254p23024597.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.
"javax.xml.parsers.SAXParserFactory",
"com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl");
setUp();
System.out.println("done.");
}
Thanks!
bc
--
View this message in context:
http://www.nabble.com/Extending-ClusterMapReduceTestCas
jason hadoop wrote:
I am having trouble reproducing this one. It happened in a very specific
environment that pulled in an alternate sax parser.
The bottom line is that jetty expects a parser with particular capabilities
and if it doesn't get one, odd things happen.
In a day or so I will have h
Finally remembered, we had saxon 6.5.5 in the class path, and the jetty
error was
09/03/11 08:23:20 WARN xml.XmlParser: EXCEPTION
javax.xml.parsers.ParserConfigurationException: AElfred parser is
non-validating
On Wed, Mar 11, 2009 at 8:01 AM, jason hadoop wrote:
> I am having trouble reproducing
I am having trouble reproducing this one. It happened in a very specific
environment that pulled in an alternate sax parser.
The bottom line is that jetty expects a parser with particular capabilities
and if it doesn't get one, odd things happen.
In a day or so I will have hopefully worked out th
jason hadoop wrote:
The other goofy thing is that the xml parser that is commonly first in the
class path, validates xml in a way that is opposite to what jetty wants.
What does ant -diagnostics say? It will list the XML parser at work
This line in the preamble before theClusterMapReduceTes
The other goofy thing is that the xml parser that is commonly first in the
class path, validates xml in a way that is opposite to what jetty wants.
This line in the preamble before theClusterMapReduceTestCase setup takes
care of the xml errors.
System.setProperty("javax.xml.parsers.SAXParserFact
There are a couple of failures that happen in tests derived from
ClusterMapReduceTestCase that are run outside of the hadoop unit test
framework.
The basic issue is that the unit test doesn't have the benefit of a runtime
environment setup by the bin/hadoop script.
The classpath is usually missin
Hi all,
I'm trying to write a JUnit test case that extends ClusterMapReduceTestCase
to test some code I've written to ease job submission and monitoring between
some existing code. Unfortunately, I see the following problem and cannot
find the jetty 5.1.4 code anywhere online. Any ideas about why
14 matches
Mail list logo