Re: Running Apache Flink on the GraalVM as a Native Image

2020-06-30 Thread Arvid Heise
Using Flink in a NI does not make much sense. However, it's definitely worthwhile to enable Flink applications to use Flink as a library and bundle that in a NI. Btw reflection is not the root problem. You can use reflection just fine in a NI. The issue with NI is (next to Unsafe) that NI has a cl

Re: Running Apache Flink on the GraalVM as a Native Image

2020-06-30 Thread Roman Grebennikov
Hi, the error it the original message means that inside a Kryo serializer, there is something that uses sun.misc.Unsafe to compute field offset in raw memory to access class fields. The problem is that memory layout in JVM and in NI is different and most probably will result in a segfault if yo

Re: Running Apache Flink on the GraalVM as a Native Image

2020-06-28 Thread Stephen Connolly
On Sun 28 Jun 2020 at 01:34, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > > > On Thu 25 Jun 2020 at 12:48, ivo.kn...@t-online.de > wrote: > >> Whats up guys, >> >> >> >> I'm trying to run an Apache Flink Application with the GraalVM Native >> Image but I get the following error: (

Re: Running Apache Flink on the GraalVM as a Native Image

2020-06-27 Thread Stephen Connolly
On Thu 25 Jun 2020 at 12:48, ivo.kn...@t-online.de wrote: > Whats up guys, > > > > I'm trying to run an Apache Flink Application with the GraalVM Native > Image but I get the following error: (check attached file) > > > > I suppose this happens, because Flink uses a lot of low-level-code and is >

Running Apache Flink on the GraalVM as a Native Image

2020-06-25 Thread ivo.kn...@t-online.de
Whats up guys, I'm trying to run an Apache Flink Application with the GraalVM Native Image but I get the following error: (check attached file) I suppose this happens, because Flink uses a lot of low-level-code and is highly optimized. When I googled the combination of GraalVM Native Image