i have this in my Mapper code,where 'a' is a DoubleWritable array.
DoubleArrayWritable ad = new DoubleArrayWritable();
ad.set(a);
int row_id1=(int)row_id;
context.write(new LongWritable(row_id1),new Text(ad.toString()));
and i m just printing these inputs to reducer as output of reducer and i m getting this as output from reducer,
1 DoubleArrayWritable@e29820
2 DoubleArrayWritable@718242
3 DoubleArrayWritable@1ec58a
4 DoubleArrayWritable@3afb99
what am i missing ? i want output as
1 2 3 4 7
2 4 6 5 9
3 4 5 7 3