Flink:Apache Ignite的Flink Streamer

时间:2017-02-13 06:46:33

标签: java jar apache-flink ignite flink-streaming

我正在尝试使用Fite-Streamer of Ignite HJK' ABCP?'QR2' SER' 将数据从flink转储到点火缓存。我想在群集上运行它,我使用的是Ignite Fabric 2.0.0和Flink 1.1.3。 Ignite的flink streamer的所有支持库都是2.0.0版本。

我正在从eclipse创建runnable jar并选择IgniteSink选项,但是当我在群集上提交jar文件来运行时,它会给出以下错误堆栈

Export required libraries into generated jar

我还包含名为ignite-core-2.0.0-SNAPSHOT.jar的jar文件,其中包含[sanket@01hw738457 flink-1.1.3]$ ./bin/flink run -m 192.168.140.53:6123 /home/sanket/workspace/flink_ignite_sink/flink_ignite_sink_extr.jar Cluster configuration: Standalone cluster with JobManager at /192.168.140.53:6123 Using address 192.168.140.53:6123 to connect to JobManager. JobManager web interface address http://192.168.140.53:8081 Starting execution of program ------------------------------------------------------------ The program finished with the following exception: java.lang.NoClassDefFoundError: org/apache/ignite/IgniteException at flink_ignite_sink.main(flink_ignite_sink.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:509) at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:403) at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:320) at org.apache.flink.client.CliFrontend.executeProgram(CliFrontend.java:777) at org.apache.flink.client.CliFrontend.run(CliFrontend.java:253) at org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1005) at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1048) Caused by: java.lang.ClassNotFoundException: org.apache.ignite.IgniteException at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 12 more 类。这个错误的原因是什么?

0 个答案:

没有答案