hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes.Lichtenberger" <Johannes.Lichtenber...@uni-konstanz.de>
Subject Re: ClassCastException
Date Fri, 08 Oct 2010 00:38:08 GMT
On 10/08/2010 01:29 AM, Ted Yu wrote:
> http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLEventWriter.html
> 
> You can use an XMLOutputFactory to create an XMLEventWriter, and then use an
> XMLEventFactory to create events that can then be written to the
> XMLEventWriter.

I just rethought about the List with Writable XMLEvents. I think it
would probably be better, otherwise I have to create an XMLEventReader
in the RecordReader, Mapper and Reducer, and everytime convert the
events back to Text, whereas a List of XMLEvents would be sufficient.
I'm currently not sure.

regards,
Johannes

Mime
View raw message