toString();
}
Again my output is empty. 3.Inorder to emit a key too as custom datatype
CompareTo is neccessary right .
4.so what should i include in that methods CompareTo,hashcode,equals and
what are these methods intended for.
Any Idea.Pls suggest a solution.
--
*Thanks & Regards*
*
*
U
Empty value in write() method : Custom Datatype in Hadoop MapReduce[Solved]
On Wed, Oct 30, 2013 at 11:23 AM, unmesha sreeveni wrote:
> I am emiting two 2D double array as key and value.I am in construction of
> my WritableComparable class.
>
>
> *public class MF implements Wri
I am emiting two 2D double array as key and value.I am in construction of
my WritableComparable class.
*public class MF implements WritableComparable{
/**
* @param args
*/private double[][] value;
public MF() {
// TODO Auto-generated constructor stub
}
public MF(double[][] value) {
//
2d double array is a matrix.so i should be able to emit the entire matrix .
Can any one suggest how to write a custom datatype
On Tue, Oct 29, 2013 at 10:54 AM, unmesha sreeveni wrote:
>
>
> http://stackoverflow.com/questions/19602692/java-lang-classcastexception-in-hadoop-mapreduce
&g
://mapreduce-tutorial.blogspot.in/2011/04/custom-data-types.html
I have gone through this link.These r all new to me.
how to override those methods in writable.
--
*Thanks & Regards*
*
*
Unmesha Sreeveni U.B*
*
*Junior Developer
*
*Amrita Center For Cyber Security
*
*
Amritapuri.
www.amrita