Hi Andrey, I made some bigger changes in the logic of the RemoteInputChannels, means that this class should be recompiled for every run.
Attaching to the IDE is pretty helpful, I already tried that before. But I think that there is just no solution for this and I have rerun the environment manually. Thanks. Benjamin Am 13. Feb. 2019, 17:57 +0100 schrieb Andrey Zagrebin <and...@ververica.com>: > Hi Benjamin, > > what kind of problem with RemoteInputChannels are you debugging? > > If the problem is in a Task Manager, you can try enabling IDE debug in > flink-conf.yaml [1] before starting the task manager and then attach IDE to > the JVM process of the Task Manager. > > Best, > Andrey > > [1] > https://cwiki.apache.org/confluence/display/FLINK/Remote+Debugging+of+Flink+Clusters > > > On Wed, Feb 13, 2019 at 12:15 PM Benjamin Burkhardt > > <pri...@benjaminburkhardt.de> wrote: > > > Hi all, > > > I’m currently debugging and enjoy it executing my task directly from the > > > IDE. > > > The IDE starts a LocalExecutionEnvironment and immediately runs the task. > > > Now my errors seem to only appear when executing in the > > > RemoteExecutionEnvironment. (it’s around the RemoteInputChannels et. al.) > > > To run it and test my modifications I always need to recompile it with > > > maven which takes about 2.5 minutes. > > > mvn install -Dcheckstyle.skip -Drat.skip=true -DskipTests -T 1 > > > I know you can send the task to a running env like this: > > > final ExecutionEnvironment env = > > > ExecutionEnvironment.createRemoteEnvironment("localhost", 8081, > > > „target/task.jar“); > > > But thats not what I’m looking for…. > > > Is there a way to start a RemoteExecutionEnvironment from the IDE from > > > scratch? > > > Thanks. > > > > > > Benjamin