Implementing a custom hadoop key and value - need Help

2013-10-31 Thread unmesha sreeveni
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

Re: Empty value in write() method : Custom Datatype in Hadoop MapReduce

2013-10-30 Thread unmesha sreeveni
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

Empty value in write() method : Custom Datatype in Hadoop MapReduce

2013-10-29 Thread unmesha sreeveni
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) { //

Re: Issues in emitting 2D double array from mapper.

2013-10-28 Thread unmesha sreeveni
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

Issues in emitting 2D double array from mapper.

2013-10-28 Thread unmesha sreeveni
://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