Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Changing tab delimiter between key and value


Copy link to this message
-
RE: Changing tab delimiter between key and value

Hi ,

I tried using conf.set ("*mapred.textoutputformat.separator*","::") , but it didnt work. It still prints the default tab.
Also I tried using it from cli, -D *mapred.textoutputformat.separator="::" -- even this didnt work.
In job.xml it showed proper "::" value though. Can you help me on this ?
What could be the issue ?

*------------------------*

Cheers !!!

Siddharth Tiwari

Have a refreshing day !!!
"Every duty is holy, and devotion to duty is the highest form of worship of God.”

"Maybe other people will try to limit me but I don't limit myself"
Date: Tue, 21 Aug 2012 15:53:54 +0800
Subject: Re: Changing tab delimiter between key and value
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

try to config "mapred.textoutputformat.separator" to your desired value.

On Tue, Aug 21, 2012 at 3:41 PM, Siddharth Tiwari <[EMAIL PROTECTED]> wrote:
Hi,
Can I change the default delimiter of tab in the output of a job to something else ? How to achieve it ?
     

     
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB