flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aljoscha Krettek <aljos...@apache.org>
Subject Re: Testing flink class loading
Date Tue, 06 Feb 2018 16:08:31 GMT

You can take a look at test-infra/end-to-end-test/test_streaming_classloader.sh to see how
that testing job is used in the actual test.


> On 6. Feb 2018, at 07:55, Data Engineer <dataengineer21@gmail.com> wrote:
> I am trying to run the ClassLoaderTestProgram on flink.
> 1. I have started Flink in local mode with the following command:
>       bin/jobmanager.sh start local
> 2. I ran the  ClassLoaderTestProgram  jar:
>        bin/flink run ClassLoaderTestProgram.jar --resolve-first child --output out.txt
> I get a  java.lang.NoSuchMethodError: org.apache.flink.runtime.taskmanager.TaskManager.getMessage
when I run with child-first, and I get the output when I run it in parent-first mode.
> The documentation states that "we get a {@link NoSuchMethodError} if we're running with
{@code parent-first} class loading
>   and that we get the correct result from the method when we're running with {@code child-first}
class loading."
> Am I doing something wrong here?
> Regards,
> James

View raw message