I am trying to emit a matrix(2D double array) as key and another matrix as value.
ie context.write(new myclass(matrixa),new myclass(matrixb)); * so how to compare them On Mon, Nov 4, 2013 at 4:16 PM, unmesha sreeveni <[email protected]>wrote: > Thanks Dieter De Witte > > > On Mon, Nov 4, 2013 at 4:11 PM, Dieter De Witte <[email protected]>wrote: > >> A writableComparable is an interface. A key in mapreduce needs to >> implement it, since the keys need to be compared for equality. So it has >> nothing to do with key value pairs as such. >> >> Regards, Dieter >> >> >> 2013/11/4 unmesha sreeveni <[email protected]> >> >>> >>> what is CompateTo() in WritableComparable? >>> Is that comparing a key and value or comparing key and key,value and >>> value >>> >>> -- >>> *Thanks & Regards* >>> >>> Unmesha Sreeveni U.B >>> >>> *Junior Developer* >>> >>> *Amrita Center For Cyber Security * >>> >>> >>> * Amritapuri.www.amrita.edu/cyber/ <http://www.amrita.edu/cyber/>* >>> >> >> > > > -- > *Thanks & Regards* > > Unmesha Sreeveni U.B > > *Junior Developer* > > *Amrita Center For Cyber Security * > > > * Amritapuri.www.amrita.edu/cyber/ <http://www.amrita.edu/cyber/>* > -- *Thanks & Regards* Unmesha Sreeveni U.B *Junior Developer* *Amrita Center For Cyber Security* * Amritapuri.www.amrita.edu/cyber/ <http://www.amrita.edu/cyber/>*
