Please try to run the following command: # bin/hama org.apache.hama.examples.ExampleDriver
I'll add example launcher command to run script soon. Thanks. On Sat, Jun 26, 2010 at 12:12 AM, Erik Test <[email protected]> wrote: > Thanks. > I've downloaded the working code on all nodes and I found a message on the > thread that has instructions to get an example running. > > http://www.mail-archive.com/[email protected]/msg00114.html > > However, the example doesn't run for me. Here is what I see. > > [r...@slave2 ~]# hama-trunk/bin/hama examples rand 20 20 20% tmp > Exception in thread "main" java.lang.NoClassDefFoundError: examples > Caused by: java.lang.ClassNotFoundException: examples > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > Could not find the main class: examples. Program will exit. > > I found the examples directory and saw that there were no class files in the > directory and tried to build the class files simply using javac *.java but > got many errors saying symbols couldn't be found and packages didn't exist. > > How should I go about getting an example to run using hama? > > Thanks for your time > Erik > > > On 24 June 2010 18:41, Edward J. Yoon <[email protected]> wrote: > >> Hello, >> >> Currently we are working towards first official release, and there is >> no release yet, but there is already some working code in the SVN >> repository. >> >> See http://incubator.apache.org/hama/developers.html >> >> HAMA 0.2 (including BSP) will be ready soon. >> >> Thanks! >> >> On Fri, Jun 25, 2010 at 5:30 AM, Erik Test <[email protected]> wrote: >> > Hi, >> > >> > I'm looking for where I can download Hama. I couldn't find a link to >> > download Hama from Apache and I'm searching on Google with no luck so >> far. >> > >> > Can anyone send me a link where I can find Hama to download? >> > Erik >> > >> >> >> >> -- >> Best Regards, Edward J. Yoon >> [email protected] >> http://blog.udanax.org >> > -- Best Regards, Edward J. Yoon [email protected] http://blog.udanax.org
