« Return to Thread: How to use hadoop wiht tomcat!!

Re: How to use hadoop wiht tomcat!!

by Shihua Ma :: Rate this Message:

Reply to Author | View in Thread


sandybandy wrote:
Hi , I have put hadoop-core.jar and all dependent JARS in webapp lib and also all XMLBEAN jars in webapp lib since my mapreducer program is using these XMLBEAN jar files to process xml document. But when I submit a job via servlet it is saying "java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException" . But I have placed all the JARS that are related to above exception to web app lib. Can anybody give me ideas on this once?

--Yoda
You need to attach you XMLBEAN jars by  DistributedCache.addArchiveToClassPath(Path, Configuration)., I think you need to read this page.Good luck.

-- Shihua Ma

 « Return to Thread: How to use hadoop wiht tomcat!!