TupleWritable Format

2013-01-14 Thread Stuti Awasthi
Hi, I wanted to write the my input file which is in Text format to TupleWritable but when I collect the output using output.collect(intWritable, TupleWritable) its giving me empty tuple. private final static IntWritable one = new IntWritable(1); public void map(LongWritable key, Text value,

Re: TupleWritable Format

2013-01-14 Thread Harsh J
As the doc on http://hadoop.apache.org/docs/stable/api/org/apache/hadoop/mapred/join/TupleWritable.htmlstates, I don't think you should be relying on the join package's TupleWritable directly and should instead either use your own tested implementation or an alternative, better serializer such as

RE: TupleWritable Format

2013-01-14 Thread Stuti Awasthi
...@cloudera.com] Sent: Monday, January 14, 2013 5:48 PM To: user@hadoop.apache.org Subject: Re: TupleWritable Format As the doc on http://hadoop.apache.org/docs/stable/api/org/apache/hadoop/mapred/join/TupleWritable.html states, I don't think you should be relying on the join package's TupleWritable