Re: Unable to run the batch examples after running stream examples
Posted by
Chesnay Schepler on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Unable-to-run-the-batch-examples-after-running-stream-examples-tp5680p5746.html
the project.version property is not
defined explicitly; it resembles the version of the parent.
Plan#getRestartStrategyConfiguration() exists in Flink 1.0.0, but
not in 1.1-SNAPSHOT.
When you set the version to 1.0.0 you may have created this
version mismatch.
On 21.03.2016 19:23, subash basnet wrote:
Hello Chesnay Schepler,
I am running the latest flink examples from
here in
eclipse.
I had used the WikipediaAnalysis pom properties/dependency in
batch pom as shown below:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<flink.version>1.0.0</flink.version>
</properties>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_2.10</artifactId>
<version>${flink.version}</version>
</dependency>
But the original pom of batch has dependency:
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>${project.version}</version>
</dependency>
Shouldn't both the above mean the same? I couldn't find
the pom file where 'project.version' property was defined.
Yeah it's working when I used the original pom of batch,
but I am confused why the modified one is not working.
Best Regards,
Subash Basnet