Map Recude code doubt

View: New views
1 Messages — Rating Filter:   Alert me  

Map Recude code doubt

by shwitzu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello All,

I was wondering if our map reduce code can just return the location of the file? Or place the actual file in a given output directory by searching based on a keyword.

Let me make myself clear

If there are 100 image files in my HDFS and I want to extract one image file. If I give a keyword which matches the name of a file in my HDFS will my mapper and  reducer code be able to locate that file and put back the  original file in a given location??

Please let me know if you have need more information.

Thanks