Dear Member

That is my bad and I do not edit the report function.


No more question about this case. Sorry to bother you~


Best regards








Zhen ZHANG(Allen) Finance Accounting and Management(FAM) Functional (FIN) 
Department Enactus-Entrepreneurial Action Us (Former name: SIFE) TB114, The 
University of Nottingham Ningbo China Mobile: +86 15314576478 
Email:zhangz...@enactusunnc.org Web: www.enactusunnc.org 
*************************************** Empower the local community with global 
business excellence! 汇聚全球商业视野 帮扶地方社区经济
 

 
 
 
------------------ Original ------------------
From: &nbsp;"张震"<zhangz...@enactusunnc.org&gt;;
Date: &nbsp;Sun, Dec 26, 2021 05:41 PM
To: &nbsp;"user-zh"<user-zh@flink.apache.org&gt;; 

Subject: &nbsp;Ask for help about run "Real Time Reporting with the Table API"

&nbsp;

Dear Member


I just get start learning flink and try the case, "Real Time Reporting with the 
Table API " 
(https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/try-flink/table_api/)
When I ran docker-compose, all containers worked except jobmanager which is 
exited with 2.


&nbsp; 

The error log is as following:

ERROR org.apache.flink.runtime.entrypoint.ClusterEntrypoint&nbsp; &nbsp; &nbsp; 
&nbsp; [] - Fatal error occurred in the cluster entrypoint.

org.apache.flink.util.FlinkException: Application failed unexpectedly.

        at 
org.apache.flink.client.deployment.application.ApplicationDispatcherBootstrap.lambda$runApplicationAndShutdownClusterAsync$0(ApplicationDispatcherBootstrap.java:170)
 ~[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:836) 
~[?:1.8.0_302]

        at 
java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:811)
 ~[?:1.8.0_302]

        at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) 
~[?:1.8.0_302]

        at 
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990)
 ~[?:1.8.0_302]

        at 
org.apache.flink.client.deployment.application.ApplicationDispatcherBootstrap.runApplicationEntryPoint(ApplicationDispatcherBootstrap.java:257)
 ~[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
org.apache.flink.client.deployment.application.ApplicationDispatcherBootstrap.lambda$runApplicationAsync$1(ApplicationDispatcherBootstrap.java:212)
 ~[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[?:1.8.0_302]

        at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[?:1.8.0_302]

        at 
org.apache.flink.runtime.concurrent.akka.ActorSystemScheduledExecutorAdapter$ScheduledFutureTask.run(ActorSystemScheduledExecutorAdapter.java:159)
 [flink-dist_2.12-1.13.1.jar:1.13.1]

        at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40) 
[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:44)
 [flink-dist_2.12-1.13.1.jar:1.13.1]

        at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) 
[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) 
[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) 
[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 
[flink-dist_2.12-1.13.1.jar:1.13.1]

Caused by: java.util.concurrent.CompletionException: 
org.apache.flink.client.deployment.application.ApplicationExecutionException: 
Could not execute application.

        at 
java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292)
 ~[?:1.8.0_302]

        at 
java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308)
 ~[?:1.8.0_302]

        at 
java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:957) 
~[?:1.8.0_302]

        at 
java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:940)
 ~[?:1.8.0_302]

        ... 13 more

Caused by: 
org.apache.flink.client.deployment.application.ApplicationExecutionException: 
Could not execute application.

        ... 11 more

Caused by: org.apache.flink.client.program.ProgramInvocationException: The main 
method caused an error: This method has not yet been implemented

        at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:372)
 ~[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222)
 ~[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:114) 
~[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
org.apache.flink.client.deployment.application.ApplicationDispatcherBootstrap.runApplicationEntryPoint(ApplicationDispatcherBootstrap.java:242)
 ~[flink-dist_2.12-1.13.1.jar:1.13.1]

        ... 10 more

Caused by: org.apache.flink.playgrounds.spendreport.UnimplementedException: 
This method has not yet been implemented

        at 
org.apache.flink.playgrounds.spendreport.SpendReport.report(SpendReport.java:32)
 ~[?:?]

        at 
org.apache.flink.playgrounds.spendreport.SpendReport.main(SpendReport.java:66) 
~[?:?]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_302]

        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_302]

        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_302]

        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_302]

        at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:355)
 ~[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222)
 ~[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:114) 
~[flink-dist_2.12-1.13.1.jar:1.13.1]

        at 
org.apache.flink.client.deployment.application.ApplicationDispatcherBootstrap.runApplicationEntryPoint(ApplicationDispatcherBootstrap.java:242)
 ~[flink-dist_2.12-1.13.1.jar:1.13.1]

        ... 10 more







Could you help me to figure it out,please?


Best regards










Zhen ZHANG(Allen) Finance Accounting and Management(FAM) Functional (FIN) 
Department Enactus-Entrepreneurial Action Us (Former name: SIFE) TB114, The 
University of Nottingham Ningbo China Mobile: +86 15314576478 
Email:zhangz...@enactusunnc.org Web: www.enactusunnc.org 
*************************************** Empower the local community with global 
business excellence! 汇聚全球商业视野 帮扶地方社区经济
 

&nbsp;

回复