You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Venkatesh Seetharam <vs...@gmail.com> on 2007/03/31 06:34:30 UTC

StreamXmlRecordReader - Resetting to invalid mark

Hi there,

Howdy. I'm encountring the following error in many of my map operations
which prevent my job to complete.

java.io.IOException: Resetting to invalid mark
	at java.io.BufferedInputStream.reset(BufferedInputStream.java:416)
	at java.io.FilterInputStream.reset(FilterInputStream.java:200)
	at org.apache.hadoop.streaming.StreamXmlRecordReader.fastReadUntilMatch(StreamXmlRecordReader.java:291)
	at org.apache.hadoop.streaming.StreamXmlRecordReader.readUntilMatchBegin(StreamXmlRecordReader.java:120)
	at org.apache.hadoop.streaming.StreamXmlRecordReader.seekNextRecordBoundary(StreamXmlRecordReader.java:113)
	at org.apache.hadoop.streaming.StreamXmlRecordReader.init(StreamXmlRecordReader.java:75)
	at org.apache.hadoop.streaming.StreamXmlRecordReader.(StreamXmlRecordReader.java:65)
	at com.gale.searchng.workflow.fetcher.DocFetcherParser$XmlInputFormat.getRecordReader(DocFetcherParser.java:231)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:139)
	at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1445)

Env: Hadoop 0.12.2, JDK 1.6, Linux 64 bit

I did google this error and found a link which says fixed.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4616869

Any thoughts/help is greatly appreciated.

-- 
Thanks,
Venkatesh

"Perfection (in design) is achieved not when there is nothing more to add,
but rather when there is nothing more to take away."
- Antoine de Saint-Exupéry