2020-11-26 10:31:31,611 INFO org.apache.flink.yarn.YarnClusterDescriptor [] - The Flink YARN session cluster has been started in detached mode. In order to stop Flink gracefully, use the following command:
$ echo “stop” | ./bin/yarn-session.sh -id application_1605580935655_0025
If this should not be possible, then you can also kill Flink via YARN’s web interface or via:
$ yarn application -kill application_1605580935655_0025
Note that killing Flink might not clean up all job artifacts and temporary files.
2020-11-26 10:31:31,611 INFO org.apache.flink.yarn.YarnClusterDescriptor [] - Found Web Interface yyxx-st-namenode01:53926 of application ‘application_1605580935655_0025’.
Job has been submitted with JobID bcbc53198785fa9dec8f87c09758a7c1
±-------------------------------+
| mm_mobilepart |
±-------------------------------+
The program finished with the following exception:
org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: Failed to fetch next result
at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:302)
at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:198)
at org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:149)
at org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:699)
at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:232)
at org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:916)
at org.apache.flink.client.cli.CliFrontend.lambda$main 10 ( C l i F r o n t e n d . j a v a : 992 ) a t j a v a . s e c u r i t y . A c c e s s C o n t r o l l e r . d o P r i v i l e g e d ( N a t i v e M e t h o d ) a t j a v a x . s e c u r i t y . a u t h . S u b j e c t . d o A s ( S u b j e c t . j a v a : 422 ) a t o r g . a p a c h e . h a d o o p . s e c u r i t y . U s e r G r o u p I n f o r m a t i o n . d o A s ( U s e r G r o u p I n f o r m a t i o n . j a v a : 1917 ) a t o r g . a p a c h e . f l i n k . r u n t i m e . s e c u r i t y . c o n t e x t s . H a d o o p S e c u r i t y C o n t e x t . r u n S e c u r e d ( H a d o o p S e c u r i t y C o n t e x t . j a v a : 41 ) a t o r g . a p a c h e . f l i n k . c l i e n t . c l i . C l i F r o n t e n d . m a i n ( C l i F r o n t e n d . j a v a : 992 ) C a u s e d b y : j a v a . l a n g . R u n t i m e E x c e p t i o n : F a i l e d t o f e t