Re: remote debugging

2016-05-19 Thread Flavio Pompermaier
You're welcome ;) On Thu, May 19, 2016 at 11:54 AM, Till Rohrmann wrote: > Thanks Flavio for adding the Eclipse section for remote debugging :-) > > On Tue, May 17, 2016 at 5:55 PM, Flavio Pompermaier > wrote: > > > Done ;) > > > > On Tue, May 17, 2016 at 5:37 PM, Robert Metzger > > wrote: > >

Re: remote debugging

2016-05-19 Thread Till Rohrmann
Thanks Flavio for adding the Eclipse section for remote debugging :-) On Tue, May 17, 2016 at 5:55 PM, Flavio Pompermaier wrote: > Done ;) > > On Tue, May 17, 2016 at 5:37 PM, Robert Metzger > wrote: > > > Okay, I gave you permissions. > > > > On Tue, May 17, 2016 at 5:22 PM, Flavio Pompermaier

Re: remote debugging

2016-05-17 Thread Flavio Pompermaier
Done ;) On Tue, May 17, 2016 at 5:37 PM, Robert Metzger wrote: > Okay, I gave you permissions. > > On Tue, May 17, 2016 at 5:22 PM, Flavio Pompermaier > wrote: > > > I've just signed up as f.pompermaier > > > > Thanks! > > > > On Tue, May 17, 2016 at 5:04 PM, Robert Metzger > > wrote: > > > >

Re: remote debugging

2016-05-17 Thread Robert Metzger
Okay, I gave you permissions. On Tue, May 17, 2016 at 5:22 PM, Flavio Pompermaier wrote: > I've just signed up as f.pompermaier > > Thanks! > > On Tue, May 17, 2016 at 5:04 PM, Robert Metzger > wrote: > > > Can you give me your wiki user id, then I can give you permissions. > > > > On Tue, May

Re: remote debugging

2016-05-17 Thread Flavio Pompermaier
I've just signed up as f.pompermaier Thanks! On Tue, May 17, 2016 at 5:04 PM, Robert Metzger wrote: > Can you give me your wiki user id, then I can give you permissions. > > On Tue, May 17, 2016 at 3:56 PM, Flavio Pompermaier > wrote: > > > No I can't edit that page :( > > > > On Tue, May 17,

Re: remote debugging

2016-05-17 Thread Robert Metzger
Can you give me your wiki user id, then I can give you permissions. On Tue, May 17, 2016 at 3:56 PM, Flavio Pompermaier wrote: > No I can't edit that page :( > > On Tue, May 17, 2016 at 3:46 PM, Stefano Baghino < > stefano.bagh...@radicalbit.io> wrote: > > > Thanks Flavio, > > > > perhaps it wou

Re: remote debugging

2016-05-17 Thread Flavio Pompermaier
No I can't edit that page :( On Tue, May 17, 2016 at 3:46 PM, Stefano Baghino < stefano.bagh...@radicalbit.io> wrote: > Thanks Flavio, > > perhaps it would be a nice addition to the Wiki page, would you care to > contribute your suggestion? :) > > On Tue, May 17, 2016 at 3:22 PM, Flavio Pompermai

Re: remote debugging

2016-05-17 Thread Stefano Baghino
Thanks Flavio, perhaps it would be a nice addition to the Wiki page, would you care to contribute your suggestion? :) On Tue, May 17, 2016 at 3:22 PM, Flavio Pompermaier wrote: > Hi to all, > > for debugging Flink from Eclipse this is what you have to do: > >1. go to 'Run' -> 'Debug configu

Re: remote debugging

2016-05-17 Thread Flavio Pompermaier
Hi to all, for debugging Flink from Eclipse this is what you have to do: 1. go to 'Run' -> 'Debug configurations...' 2. Create a new 'Remote Java Application' 3. In the 'Connect' tab choose: 1. the project to debug 2. Connection type 'Standard (Socket Attach)' 3. Connec

Re: remote debugging

2016-05-17 Thread Stefano Baghino
That would be pretty neat, in fact by modifying bin/flink-daemon.sh you'd end up having all managers listening for a remote debugger and it would be a problem if you want the JVM to suspend on start. On Tue, May 17, 2016 at 2:22 PM, Greg Hogan wrote: > I also just modify the startup scripts but

Re: remote debugging

2016-05-17 Thread Greg Hogan
I also just modify the startup scripts but would it be better to have variants of env.java.opts specific to the JobManager, TaskManager, client, etc.? On Tue, May 17, 2016 at 5:24 AM, Stephan Ewen wrote: > Hey Stefano! > > I think that question is bound to come up again. I created a page in the

Re: remote debugging

2016-05-17 Thread Maximilian Michels
Thanks for documenting, Stefano! I remember, this came in very handy when debugging the Yarn integration and tests. On Tue, May 17, 2016 at 12:32 PM, Stefano Baghino wrote: > > It's there, I've left the Eclipse paragraph empty, unfortunately I have no > experience with remote debugging using it.

Re: remote debugging

2016-05-17 Thread Stefano Baghino
It's there, I've left the Eclipse paragraph empty, unfortunately I have no experience with remote debugging using it. On Tue, May 17, 2016 at 12:29 PM, Stephan Ewen wrote: > Super, thanks! > > On Tue, May 17, 2016 at 11:32 AM, Stefano Baghino < > stefano.bagh...@radicalbit.io> wrote: > > > +1, g

Re: remote debugging

2016-05-17 Thread Stephan Ewen
Super, thanks! On Tue, May 17, 2016 at 11:32 AM, Stefano Baghino < stefano.bagh...@radicalbit.io> wrote: > +1, great idea, I should've had it myself. :) > > I'll do it today, thanks for creating the page. > > On Tue, May 17, 2016 at 11:24 AM, Stephan Ewen wrote: > > > Hey Stefano! > > > > I thin

Re: remote debugging

2016-05-17 Thread Stefano Baghino
+1, great idea, I should've had it myself. :) I'll do it today, thanks for creating the page. On Tue, May 17, 2016 at 11:24 AM, Stephan Ewen wrote: > Hey Stefano! > > I think that question is bound to come up again. I created a page in the > Flink Wiki to document this. > > If you have a few mo

Re: remote debugging

2016-05-17 Thread Stephan Ewen
Hey Stefano! I think that question is bound to come up again. I created a page in the Flink Wiki to document this. If you have a few moments, would be great if you could add your description there: https://cwiki.apache.org/confluence/display/FLINK/Remote+Debugging+of+Flink+Clusters (it is linked

Re: remote debugging

2016-05-16 Thread Vijay Srinivasaraghavan
Awesome, thanks Stefano!! On Monday, May 16, 2016 9:57 AM, Stefano Baghino wrote: I had to do it a couple of times. Wonderful experience to understand the inner workings of Flink and explore it while running. I don't know if there's a preferred way to do this but this is how I did it:

Re: remote debugging

2016-05-16 Thread Stefano Baghino
I had to do it a couple of times. Wonderful experience to understand the inner workings of Flink and explore it while running. I don't know if there's a preferred way to do this but this is how I did it: Edit the run configurations in IntelliJ, click the + icon in the upper left corner, choose the