hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Segel <michael_se...@hotmail.com>
Subject RE: Image as input to M-R in Hadoop
Date Mon, 29 Nov 2010 21:08:37 GMT

The short answer is yes you can process images in Hadoop.
Think of the image as a multi-line byte stream.

As to an existing class, I don't believe that it exists, but shouldn't be too difficult to
(If you can read in XML records for processing you should be able to read in a file containing
a series of images.)

Note: I'm assuming that you're either reading in a directory w multiple image files, or an
image file w multiple images. Otherwise you probably don't want to use Hadoop.

> Date: Mon, 29 Nov 2010 14:56:35 -0500
> Subject: Image as input to M-R in Hadoop
> From: b.aravinth@gmail.com
> To: general@hadoop.apache.org
> Hi,
> I am a beginner to Hadoop and I am looking for some help in implementing the
> Mapper with an image as input. Is there any predefined Writable class for
> processing image? If so, how do I use it?
> Also I have read somewhere that compressed formats cannot be processed in
> Hadoop. If this is true, am I making any sense in saying that the JPEG
> images (which are also compressed format) cannot be processed by Hadoop?
> Please correct me if I have misunderstood this concept.
> Thanks,
> -- 
> Aravinth
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message