To fix this problem, we can stop log thread first. This is trivial issue. Should we fix this now or later?
On Sat, Feb 4, 2012 at 11:50 PM, Chia-Hung Lin <[email protected]> wrote: > > Sorry my bad. I falsely put -jar instead of jar in the command line. > This problem now is solved. > > RC2 outputs ok on my env (4 vms where 1 bspmaster, 2 grooms and 1 for zk) > > 12/02/04 22:46:38 INFO bsp.BSPJobClient: Running job: job_201202042245_0001 > 12/02/04 22:46:41 INFO bsp.BSPJobClient: Current supersteps number: 0 > 12/02/04 22:46:47 INFO bsp.BSPJobClient: Current supersteps number: 1 > 12/02/04 22:46:47 INFO bsp.BSPJobClient: The total number of supersteps: 1 > Estimated value of PI is 3.1481999999999997 > Job Finished in 9.335 seconds > > But I notice that it seems in grooms there has error e.g. > > attempt_201202042245_0001_000002_0 Error reading child output > java.io.IOException: Stream closed > at > java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:162) > at java.io.BufferedInputStream.read1(BufferedInputStream.java:272) > at java.io.BufferedInputStream.read(BufferedInputStream.java:334) > at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) > at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) > at java.io.InputStreamReader.read(InputStreamReader.java:184) > at java.io.BufferedReader.fill(BufferedReader.java:154) > at java.io.BufferedReader.readLine(BufferedReader.java:317) > at java.io.BufferedReader.readLine(BufferedReader.java:382) > at org.apache.hama.bsp.TaskRunner.logStream(TaskRunner.java:285) > at org.apache.hama.bsp.TaskRunner.access$100(TaskRunner.java:46) > at > org.apache.hama.bsp.TaskRunner$BspChildRunner$1.run(TaskRunner.java:100) > > This does not prevent finishing execution, but looks like the log > stream is already closed. > > On 4 February 2012 19:22, Chia-Hung Lin <[email protected]> wrote: > > Test rc2 version (both svn and binary hama-0.4.0-incubating.tar.gz) > > shows that the execution of examples will throw error > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/apache/hadoop/util/ProgramDriver > > at org.apache.hama.examples.ExampleDriver.main(ExampleDriver.java:29) > > Caused by: java.lang.ClassNotFoundException: > > org.apache.hadoop.util.ProgramDriver > > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:423) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:356) > > ... 1 more > > > > Checking the classpath it shows that hadoop-core-0.20.2.jar is > > included when running example jar. > > > > ... > > /path/to/hama-0.4.0-incubating/bin/../lib/hadoop-core-0.20.2.jar > > ... > > > > The system can successfully start up service (bspmaster, groomserver > > and zookeeper). > > > > Do I miss anything? > > > > > > > > > > > > On 4 February 2012 09:19, Edward J. Yoon <[email protected]> wrote: > >> Hi all, > >> > >> I just created a RC2 for the Apache Hama 0.4-incubating release. This > >> RC2 fixes the issue Thomas found and adds license header text. > >> > >> Tested also on EC2 with Apache Whirr 0.7 release. > >> > >> Artifacts: > >> http://people.apache.org/~edwardyoon/dist/0.4-RC2/ > >> SVN Tag:https://svn.apache.org/repos/asf/incubator/hama/tags/0.4-RC2/ > >> And, you can preview new website at:http://udanax.org/site/index.html > >> Please download, evaluate, and vote on here. > >> The vote will close on Thursday Feb 9, 2012. > >> Thanks. > >> -- > >> Best Regards, Edward J. Yoon > >> @eddieyoon -- Best Regards, Edward J. Yoon @eddieyoon
