Can you try to add the jar file in your Hadoop lib directory.

On Sun, Dec 12, 2010 at 8:00 AM, Maha A. Alabduljalil
<m...@umail.ucsb.edu>wrote:

>
> Hi all,
>
>  I extended my project path with the hadoop-0.20.2-core.jar file, but I can
> see that some of the classes I need aren't there, so for example an error I
> get:
>
>  "  The type org.apache.commons.logging.Log cannot be resolved. It is
> indirectly referenced from required .class files- implements  "
>
>  Because I'm trying to use a MultiFileInputFormat for the WordCount example
> as follows:
>
> public class wcMultiFileInputFormat extends
> MultiFileInputFormat<LongWritable, Text>{
>
>        public LineRecordReader getRecordReader(InputSplit split, JobConf
> job, Reporter reporter){
>                return (new LineRecordReader());
>        }
> }
>
>  Can someone guide me to how to solve this in a different way (ie.Make each
> input file unSplittable) ... or how to add the required missing log.class?
>
>  Thank you so much,
>      Maha
>
>
>


-- 
-----李平

Reply via email to