Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Issues in emitting 2D double array to Reducer.


Copy link to this message
-
Re: Issues in emitting 2D double array to Reducer.
Use @Override to specify that you indeed override the good methods.

Bertrand
On Mon, Oct 28, 2013 at 11:30 AM, Mirko Kämpf <[EMAIL PROTECTED]>wrote:

> 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 <[EMAIL PROTECTED]>
>
>>
>> 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/
>> *
>>
>
>
--
Bertrand Dechoux