hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kuhn <>
Subject Re: need help in Mapreduce(urgent)
Date Mon, 09 Jan 2012 13:09:26 GMT
Hi Vikas,

> 1:- How to format output from reduce( like default is tab separator can we make it ","

If you want this behaviour for all your Hadoop jobs, you have to put this into your mapred-site.xml:



To change the separator programatically for certain jobs only:

    final Configuration conf = getConf();
    conf.set(TextOutputFormat.SEPERATOR, ",");

Good Luck :)

View raw message