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

Switch to Threaded View
MapReduce >> mail # user >> replace separator in output.collect?

Copy link to this message
Re: replace separator in output.collect?
Assuming you are using a textfileoutputformat:

So something like:
  conf.set("mapred.textoutputformat.separator", ":");
  conf.set("mapreduce.textoutputformat.separator", ":");

Depending on the version being run.

I hope this helps,
On Tue, Jun 11, 2013 at 4:48 PM, Pedro Sá da Costa <[EMAIL PROTECTED]>wrote:

> the "output.collect(key, value)" puts the key and the value separated by
> \t. Is there a way to replace it by ':'?
> --
> Best regards,