hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aravinth Bheemaraj <b.aravi...@gmail.com>
Subject ArrayWritable as Map/Reduce output value
Date Wed, 24 Nov 2010 07:52:23 GMT
Hi,

I am a beginner to Hadoop. Can anyone suggest me how to define Map/Reduce
output value as an ArrayWritable?

The output value must contain array of integers.
eg. (img1 , value[] { x-coord, y-coord, R, G, B})

How can the individual fields of the ArrayWritable can be accessed using the
Iterator in the Reduce function? And also how to write the ArrayWritable
object to the output file?

-- 
Aravinth Bheemaraj
University of Florida




-- 
Aravinth Bheemaraj
University of Florida

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message