Exception but successfully build

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

Exception but successfully build

David Herzog
Dear Support,

I make small print outs in: org.apache.flink.runtime.jobmanager.Jobmanager
to better understand how it works.
Since building takes up a lot of time run this command to save me some
time.:
mvn package -Dmaven.test.skip=true

After successfully building Flink I try to run:

bin/flink run examples/streaming/SocketTextStreamWordCount.jar \
  --hostname localhost \
  --port 9000

But I sometimes get this Error:

Exception in thread "main" java.lang.Error: Unresolved compilation problem:

    at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1003)

Do you know what could cause this problem? And do you have any tips to save
time for building Flink?

Regards,

David Herzog
Reply | Threaded
Open this post in threaded view
|

Re: Exception but successfully build

Ufuk Celebi-2
Hey David,
could this be related:
http://stackoverflow.com/questions/1124788/java-unresolved-compilation-problem?
– Ufuk

On Mon, Jul 4, 2016 at 9:22 AM, David Herzog <[hidden email]> wrote:

> Dear Support,
>
> I make small print outs in: org.apache.flink.runtime.jobmanager.Jobmanager
> to better understand how it works.
> Since building takes up a lot of time run this command to save me some
> time.:
> mvn package -Dmaven.test.skip=true
>
> After successfully building Flink I try to run:
>
> bin/flink run examples/streaming/SocketTextStreamWordCount.jar \
>   --hostname localhost \
>   --port 9000
>
> But I sometimes get this Error:
>
> Exception in thread "main" java.lang.Error: Unresolved compilation problem:
>
>     at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1003)
>
> Do you know what could cause this problem? And do you have any tips to save
> time for building Flink?
>
> Regards,
>
> David Herzog