Re: HelloWorldExample prpoblem

2017-04-18 Thread j lu
And stderr says sync.DefaultEventHandler: Failed to send producer request with correlation id 36 to broker 1 with data for partitions [log,0] So is that because of the fact that some msg is not sent? By the way, Do u know of any ways that can be used to set the slf4j level to INFO(rather than de

Re: HelloWorldExample prpoblem

2017-04-18 Thread j lu
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 wrote: > Nah, in the web UI of container_002 log in stdout,

Re: HelloWorldExample prpoblem

2017-04-18 Thread j lu
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 wrote: > Hi, > > You don't need Kafka in your cluster as twi

Re: HelloWorldExample prpoblem

2017-04-18 Thread Terence Yim
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 wrote: > > Nah, no luck. I check the std

Re: HelloWorldExample prpoblem

2017-04-18 Thread j lu
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 wrote: > Hi, > > The log message should get collected and printed in the cl

Re: HelloWorldExample prpoblem

2017-04-17 Thread Terence Yim
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 2 container, while the 1 is the application master). Terence On Mon,