file to map/reduce program

Posted by vana on Stack Overflow See other posts from Stack Overflow or by vana
Published on 2010-05-08T07:10:35Z Indexed on 2010/05/08 7:18 UTC
Read the original article Hit count: 184

Filed under:

Hi , I am working on extracting Parts Of speech (POS) using xml documents and I have a englishPCFG.ser.gz file which is used in extracting POS on xml files. I cannot send this .gz file as input in HDFS directory, but my program uses it for parsing xml files. The file is in my local directory. I am getting "File Not Found" error when I run my mapreduce program. How can i make it available to mapper? I tried placing the file in HDFS where my xml files are present. I also tried adding it in .jar along with class files but not luck. I tried to change the hdfs-default.xml with entry to local directory, still doesnt work.

Please let me know how to make mapper read this file?

Thank you,

© Stack Overflow or respective owner

Related posts about mapreduce