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 Carbon Rock <hi...@gmail.com> on 2010/05/18 09:23:35 UTC

Re: How to change join output delimiter from default comma to pipe

Hi,

Found the solution.

Its happening in toString() method under
mapred.org.apache.hadoop.mapred.join.TupleWritable

Thanks,
Dhana



Carbon Rock wrote:
> 
> Hi,
> 
> I am running map-side join.  My input looks like this.
> 
> file1.txt
> -----------
> a|deer
> b|dog
> 
> file2.txt
> -----------
> a|veg
> b|nveg
> 
> I am getting output like
> 
> a|[deer,veg]
> b|[dog,nveg]
> 
> I dont want those square brackets and the field seperator should be |
> (pipe) instead of comma
> 
> Please guide me how to acheive this.
> 
> Thanks,
> Dhana
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-change-join-output-separator-tp28547855p28555738.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.