swsnu / swppspr2015

Repository for discussing common issues that are not project-specific, SNU SWPP Spring 2015
https://sites.google.com/site/snuswppspr2015/
0 stars 0 forks source link

Problem running REEF tutorial #18

Open dj-shin opened 9 years ago

dj-shin commented 9 years ago

I've managed to install requirements needed for running HelloREEF, and succeeded in running java -cp lang/java/reef-examples-0.12.0-incubating-SNAPSHOT-shaded.jar org.apache.reef.examples.hello.HelloREEF.

However, even though I've installed Hadoop, running HelloREEFNoClient with in REEF tutorial fails. When I try java -cp lang/java/reef-examples-0.12.0-incubating-SNAPSHOT-shaded.jar org.apache.reef.examples.hello.HelloREEFNoClient, it waits forever in below state.

6월 02, 2015 12:05:13 오후 org.apache.reef.wake.remote.address.HostnameBasedLocalAddressProvider <init>
정보: Instantiating HostnameBasedLocalAddressProvider
6월 02, 2015 12:05:13 오후 org.apache.reef.util.REEFVersion logVersion
정보: REEF Version: 0.12.0-incubating-SNAPSHOT
6월 02, 2015 12:05:14 오후 org.apache.reef.examples.hello.HelloREEFNoClient main
정보: Job Submitted

I wonder what is the reason of this problem.

jsjason commented 9 years ago

Running HelloREEFNoClient has nothing to do with Hadoop, because HelloREEFNoClient runtime uses local runtime instead of YARN runtime. In fact, you've actually succeeded in running HelloREEFNoClient. I'm not sure why the client doesn't terminate by itself, but if you enter Ctrl+C and check the REEF_LOCAL_RUNTIME folder then there should be logs of the client-detached HelloREEF job you just ran.