Friday, 15 July 2011

java - Is there way to keep delimiter also in records , while reading them with Hadoop MapReduce? -



java - Is there way to keep delimiter also in records , while reading them with Hadoop MapReduce? -

i want override hadoop's default record reader within java code. reads records line-by-line default. changed when encounters ":", separates records. however, while seprating records, emits delimiter. example, records are:

> go school : goes school : go school

when records read, produces like:

i go school goes school go school

however delimiter - ":" gone. there way maintain delimiter in records? because there may of import informations in delimiters.

java hadoop bigdata hadoop-plugins

No comments:

Post a Comment