On 04 Jan 2017, at 13:17, Yury Ruchin <[hidden email]> wrote:Hi Stephan,It looks like you have libraries from different versions of Flink distribution on the same classpath.ForkableFlinkMiniCluster resides in flink-test-utils. As of distribution version 1.1.3 it invokes JobManager.startJobManagerActors() with 6 arguments. The signature changed by 1.1.4, and ForkableFlinkMiniCluster now invokes the method with 8 arguments of different types. This might mean that flink-test-utils library on your classpath has version 1.1.3 whereas flink-runtime has 1.1.4.You might want to thoroughly inspect your classpath to ensure that every Flink-related dependency has version 1.1.4.Regards,Yury2017-01-04 11:20 GMT+03:00 Stephan Epping <[hidden email]>:I also changed the scala version of the packages/artifacts to 2.11, with no success.Further, I am not deeply familiar with maven or java dependency management at all.best Stephan
On 03 Jan 2017, at 22:06, Stephan Ewen <[hidden email]> wrote:Hi!It is probably some inconsistent configuration in the IDE.It often helps to do "Maven->Reimport" or use "restart and clear caches".On Tue, Jan 3, 2017 at 9:48 AM, Stephan Epping <[hidden email]> wrote:Hey,thanks for the reply. I didn’t change the scala version, as it worked before. I just changed the flink version in my pom.xml thats it, a one line change.Maybe you could elaborate a bit more, what I can do to change the scala version?best Stephan
On 03 Jan 2017, at 03:11, Kurt Young <[hidden email]> wrote:Seems like you didn't setup the correct scala SDKbest,KurtOn Mon, Jan 2, 2017 at 10:41 PM, Stephan Epping <[hidden email]> wrote:Hi,I am getting this error running my tests with 1.1.4 inside intellij ide.java.lang.NoSuchMethodError: org.apache.flink.runtime.jobmanager.JobManager$.startJobMana gerActors(Lorg/apache/flink/co nfiguration/Configuration;Lakk a/actor/ActorSystem;Lscala/ Option;Lscala/Option;Ljava/ lang/Class;Ljava/lang/Class;) Lscala/Tuple2; at org.apache.flink.test.util.ForkableFlinkMiniCluster.startJob Manager(ForkableFlinkMiniClust er.scala:103) at org.apache.flink.runtime.minicluster.FlinkMiniCluster$$anonf un$1.apply(FlinkMiniCluster.sc ala:292) at org.apache.flink.runtime.minicluster.FlinkMiniCluster$$anonf un$1.apply(FlinkMiniCluster.sc ala:286) at scala.collection.TraversableLike$$anonfun$map$1.apply(Traver sableLike.scala:244) at scala.collection.TraversableLike$$anonfun$map$1.apply(Traver sableLike.scala:244) at scala.collection.immutable.Range.foreach(Range.scala:141) at scala.collection.TraversableLike$class.map(TraversableLike.s cala:244) at scala.collection.AbstractTraversable.map(Traversable.scala:1 05) at org.apache.flink.runtime.minicluster.FlinkMiniCluster.start( FlinkMiniCluster.scala:286) at org.apache.flink.runtime.minicluster.FlinkMiniCluster.start( FlinkMiniCluster.scala:277) at org.apache.flink.test.util.ForkableFlinkMiniCluster.start(Fo rkableFlinkMiniCluster.scala:2 55) at org.apache.flink.test.util.TestBaseUtils.startCluster(TestBa seUtils.java:152) at org.apache.flink.test.util.TestBaseUtils.startCluster(TestBa seUtils.java:126) at org.flinkspector.datastream.DataStreamTestEnvironment.create TestEnvironment(DataStreamTest Environment.java:72) Any ideas?best,Stephan
Free forum by Nabble | Edit this page |