Map Recude code doubt
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 -- View this message in context: http://www.nabble.com/Map-Recude-code-doubt-tp25916994p25916994.html Sent from the Hadoop core-user mailing list archive at Nabble.com.
Re: Map Recude code doubt
Shwitzu, Why can't you just use query thru a Filesystem object and find the file you want? Lajos shwitzu wrote: 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 -- *** The 'Last-Chance' Architect www.galatea.com (US) +1 303 731 3116 (UK) +44 20 8144 4367 ***