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 <
[email protected]> 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
>

Reply via email to