hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirko Kämpf <mirko.kae...@gmail.com>
Subject Re: Issues in emitting 2D double array to Reducer.
Date Mon, 28 Oct 2013 10:30:53 GMT
Hi,

you should create a custom data type, which contains two of the
DoubleArrayWritable instances. This custom data type idea is also explained
here:
http://my.safaribooksonline.com/book/-/9781849517287/4dot-developing-complex-hadoop-mapreduce-applications/ch04s03_html

Good luck.
Mirko



2013/10/28 unmesha sreeveni <unmeshabiju@gmail.com>

>
> http://stackoverflow.com/questions/19602692/java-lang-classcastexception-in-hadoop-mapreduce
>
> I tried out, but it is not working.
>
> I was able to emit 1 2D array..but When i cross checked once more, i am
> not able to print the matrix(2D array) in reducer.
>
> Can anyone suggest me a gud way to emit 2 Matrices from mapper.
>
>
>
> --
> *Thanks & Regards*
> *
> *
> Unmesha Sreeveni U.B*
> *
> *Junior Developer
> *
> *Amrita Center For Cyber Security
> *
> *
> Amritapuri.
>
> www.amrita.edu/cyber/
> *
>

Mime
View raw message