Ok, there is warn msg in stdout says 18:52:13.492 [kafka-publisher] WARN o.a.t.i.k.c.SimpleKafkaPublisher - Broker list is empty. No Kafka producer is created.
will kafka be the problem here??? On Tue, Apr 18, 2017 at 7:33 PM, j lu <issljc...@gmail.com> wrote: > Nah, in the web UI of container_002 log in stdout, there is no string show > up when I type Hello World in the search box. It meant to be Hello World, > my first distributed application, right?? > > On Tue, Apr 18, 2017 at 7:20 PM, Terence Yim <cht...@gmail.com> wrote: > >> Hi, >> >> You don't need Kafka in your cluster as twill will start an embedded one >> inside the Application Master. Besides the stderr, do you see a stdout? >> Also, any logs from the client side? >> >> Terence >> >> Sent from my iPhone >> >> > On Apr 18, 2017, at 3:57 PM, j lu <issljc...@gmail.com> wrote: >> > >> > Nah, no luck. I check the stderr logs, there are some errors about kafka >> > because there is no kafka in my machine. Could that be the reason why I >> > don't get the Hello World msg? >> > >> >> On Mon, Apr 17, 2017 at 6:31 PM, Terence Yim <cht...@gmail.com> wrote: >> >> >> >> Hi, >> >> >> >> The log message should get collected and printed in the client side >> process >> >> (the one you launch the app). You should also be able to see the logs >> from >> >> the YARN container log of the runnable container (usually is the 00002 >> >> container, while the 00001 is the application master). >> >> >> >> Terence >> >> >> >>> On Mon, Apr 17, 2017 at 11:02 AM, j lu <issljc...@gmail.com> wrote: >> >>> >> >>> Forks, I am not sure this is the right place to say this. I am just >> >> started >> >>> playing with apache twill. When I try to run the hello world example. >> It >> >>> apears to be working. There is a HelloWorldRunnable application >> appearing >> >>> successful in the yarn webUI. But I couldnt find the INFO msg says >> Hello >> >>> World, this is my first distrubuted application. I tried the logs in >> the >> >>> yarn webUI. I also tried $(HADOOP_HOME)/logs no luck. Any help? >> >>> >> >> >> > >