hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li ping <li.j...@gmail.com>
Subject Re: Error: ... It is indirectly referenced from required .class files - implements
Date Sun, 12 Dec 2010 02:27:01 GMT
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
<maha@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
>
>
>


-- 
-----李平

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message