start-all.sh is shell script; it can't be run via Hadoop. Just run it directly from your shell like this:
$ bin/start-all.sh Cheers, Anthony On Thu, Sep 17, 2009 at 4:30 PM, Simon Chu <simonchu....@gmail.com> wrote: > had...@zoe:/opt/hadoop-0.18.3> hadoop start-all.sh > Exception in thread "main" java.lang.NoClassDefFoundError: start-all/sh > Caused by: java.lang.ClassNotFoundException: start-all.sh > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > Could not find the main class: start-all.sh. Program will exit. > > > Can someone help me figure out how to include these libraries? by setting > LD_LIBRARY_PATH? > > Simon >