Error While Building Flink From Source

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error While Building Flink From Source

Yuval Itzchakov
Hi,
I'm trying to build Flink from source. I'm using Maven 3.6.1 and executing the following command:

mvn clean install -DskipTests -Dfast -Dscala-2.12

Running both on the master branch and the release-1.9.0 tag, I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project flink-streaming-java_2.12: Compilation failure
[ERROR] /Users/yuval.itzchakov/oss/flink/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamSink.java:[53,10] cannot find symbol
[ERROR]   symbol:   class Overrides
[ERROR]   location: class org.apache.flink.streaming.api.operators.StreamSink<IN>

Has anyone run into this problem?

--
Best Regards,
Yuval Itzchakov.
Reply | Threaded
Open this post in threaded view
|

Re: Error While Building Flink From Source

Debasish Ghosh
I could build using the following command ..

mvn clean install -Dcheckstyle.skip -DskipTests -Dscala-2.12 -Drat.skip=true

regards.

On Tue, Sep 10, 2019 at 9:06 PM Yuval Itzchakov <[hidden email]> wrote:
Hi,
I'm trying to build Flink from source. I'm using Maven 3.6.1 and executing the following command:

mvn clean install -DskipTests -Dfast -Dscala-2.12

Running both on the master branch and the release-1.9.0 tag, I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project flink-streaming-java_2.12: Compilation failure
[ERROR] /Users/yuval.itzchakov/oss/flink/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamSink.java:[53,10] cannot find symbol
[ERROR]   symbol:   class Overrides
[ERROR]   location: class org.apache.flink.streaming.api.operators.StreamSink<IN>

Has anyone run into this problem?

--
Best Regards,
Yuval Itzchakov.


--
Reply | Threaded
Open this post in threaded view
|

Re: Error While Building Flink From Source

Yuval Itzchakov
Still getting the same error message using your command. Which Maven version are you using?

On Tue, Sep 10, 2019 at 6:39 PM Debasish Ghosh <[hidden email]> wrote:
I could build using the following command ..

mvn clean install -Dcheckstyle.skip -DskipTests -Dscala-2.12 -Drat.skip=true

regards.

On Tue, Sep 10, 2019 at 9:06 PM Yuval Itzchakov <[hidden email]> wrote:
Hi,
I'm trying to build Flink from source. I'm using Maven 3.6.1 and executing the following command:

mvn clean install -DskipTests -Dfast -Dscala-2.12

Running both on the master branch and the release-1.9.0 tag, I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project flink-streaming-java_2.12: Compilation failure
[ERROR] /Users/yuval.itzchakov/oss/flink/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamSink.java:[53,10] cannot find symbol
[ERROR]   symbol:   class Overrides
[ERROR]   location: class org.apache.flink.streaming.api.operators.StreamSink<IN>

Has anyone run into this problem?

--
Best Regards,
Yuval Itzchakov.


--


--
Best Regards,
Yuval Itzchakov.
Reply | Threaded
Open this post in threaded view
|

Re: Error While Building Flink From Source

Yuval Itzchakov
Never mind, turns out it was an error on my part. Somehow I managed do add an "S" to an attribute mistakenly :)

On Tue, Sep 10, 2019 at 7:29 PM Yuval Itzchakov <[hidden email]> wrote:
Still getting the same error message using your command. Which Maven version are you using?

On Tue, Sep 10, 2019 at 6:39 PM Debasish Ghosh <[hidden email]> wrote:
I could build using the following command ..

mvn clean install -Dcheckstyle.skip -DskipTests -Dscala-2.12 -Drat.skip=true

regards.

On Tue, Sep 10, 2019 at 9:06 PM Yuval Itzchakov <[hidden email]> wrote:
Hi,
I'm trying to build Flink from source. I'm using Maven 3.6.1 and executing the following command:

mvn clean install -DskipTests -Dfast -Dscala-2.12

Running both on the master branch and the release-1.9.0 tag, I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project flink-streaming-java_2.12: Compilation failure
[ERROR] /Users/yuval.itzchakov/oss/flink/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamSink.java:[53,10] cannot find symbol
[ERROR]   symbol:   class Overrides
[ERROR]   location: class org.apache.flink.streaming.api.operators.StreamSink<IN>

Has anyone run into this problem?

--
Best Regards,
Yuval Itzchakov.


--


--
Best Regards,
Yuval Itzchakov.


--
Best Regards,
Yuval Itzchakov.