You don't need to recompile nutch. Just move hadoop-0.4.0.jar out of nutch/lib and put hadoop-0.5.0.jar there instead. The error message suggests that the .jar file is not in CLASSPATH, which the nutch script (bin/nutch) builds by grabing every lib/*.jar. org/apache/hadoop/conf/Configured.class can be found in hadoop-0.5.0.jar; at least the version I've got has this class.
> -----Original Message----- > From: Feng Ji [mailto:[EMAIL PROTECTED] > Sent: 2006-8-08 16:14 > To: [email protected] > Subject: Re: nutch08 indexer error > > hi *Teruhiko:* > ** > *I replace the hadoop04 with 05 version, recompile the nutch. > But nutch > gives me the error messages when I run seeds inject at very > beginning.* > ** > *Any though you will have?* > ** > *thanks your time,* > > java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configured > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader. > java:124) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) > at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > Exception in thread "main" > > > On 8/8/06, Teruhiko Kurosaka <[EMAIL PROTECTED]> wrote: > > > > The problem #2 might be due to > > http://issues.apache.org/jira/browse/NUTCH-266 > > > > Download the latest Hadoop and replace the haddop-*.jar in > lib with that > > version. > > > > > -----Original Message----- > > > From: Feng Ji [mailto:[EMAIL PROTECTED] > > > Sent: 2006-8-07 18:00 > > > To: [email protected] > > > Subject: nutch08 indexer error > > > > > > Hi there, > > > > > > I met an issue to run "nutch/bin index...". I checked out > > > latest nutch from > > > SVN, so I am running nutch-08. > > > > > > I searched the achived emails, and there is one email mentioned > > > that "index-basic" must be in index configuration xml, which > > > I checked my > > > config and it is already included. > > > > > > 1. > > > In one case, indexing log showing: > > > " > > > Indexing [http://calendar.ufl.edu/] with analyzer > > > [EMAIL PROTECTED] (null) > > > " > > > > > > But, it could still finish indexing and searching is > > > successfully after. A > > > bit weird thing. > > > > > > 2. > > > In the other crawling case, I indexing multiple segments and > > > run into fatal > > > error as > > > > > > " > > > Indexer: starting > > > Indexer: linkdb: crawl/linkdb > > > Indexer: adding segment: crawl/segments/20060807202736 > > > Indexer: adding segment: crawl/segments/20060807202824 > > > Optimizing index. > > > Exception in thread "main" java.io.IOException: Job failed! > > > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:357) > > > at org.apache.nutch.indexer.Indexer.index(Indexer.java:296) > > > at org.apache.nutch.indexer.Indexer.main(Indexer.java:313) > > > " > > > > > > I wonder what cause the error? > > > > > > 3. > > > Is the downloadable nutch-08 release package more stable than > > > version of SVN > > > check out? > > > > > > thanks you time, > > > > > > Feng Ji > > > > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
