Hi,

I'm excited to upgrade to Nutch 1.5 but something seems fundamentally
different about the binaries generated in runtime/deploy 

With Nutch 1.4 after downloading the source and running ant the
runtime/deploy folder binary and job file was ready to work on hadoop and
worked seamlessly.

With Nutch 1.5 after downloading the source and running ant the
runtime/deploy folder still contains the job file and binary but upon
running it I get this error - 

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/util/Tool
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.util.Tool
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 11 more
Could not find the main class: org.apache.nutch.crawl.Crawl. Program will
exit.


Can someone please help out and shed light on what has fundamentally changed
with the deployment process in Nutch 1.5 ??

Thanks for your help.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Nutch-1-5-Deploy-Mode-Doesn-t-Work-like-Nutch-1-4-Deploy-Mode-tp3990169.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to