尝试运行在flink网站here上找到的SocketWindowWordCount示例教程。
我启动了flink集群,然后运行了本地套接字服务器:
nc -l 9000
在编译了github的示例源代码之后,我运行了作业
flink run target/SocketWindowWordCount.jar --port 9000
然后我向运行nc
的终端输入一些单词。什么都没有到达预期的输出文件,并且日志重复此错误:
2019-07-09 15:54:32,673 ERROR org.apache.flink.runtime.rest.handler.job.JobDetailsHandler - Exception occurred in REST handler: Job f9b3c58ca3026855fd2612e3c86551fa not found
2019-07-09 15:54:35,673 ERROR org.apache.flink.runtime.rest.handler.job.JobDetailsHandler - Exception occurred in REST handler: Job f9b3c58ca3026855fd2612e3c86551fa not found
2019-07-09 15:54:38,673 ERROR org.apache.flink.runtime.rest.handler.job.JobDetailsHandler - Exception occurred in REST handler: Job f9b3c58ca3026855fd2612e3c86551fa not found
2019-07-09 15:54:39,769 ERROR org.apache.flink.runtime.rest.handler.job.JobDetailsHandler - Exception occurred in REST handler: Job f9b3c58ca3026855fd2612e3c86551fa not found
答案 0 :(得分:1)
当您在浏览器中打开“ Flink UI”选项卡时,通常会发生这种情况,该选项卡在以前的作业部署中保持打开状态。 因此,UI指向带有http://.../f9b3c58ca3026855fd2612e3c86551fa的URL,该URL是不存在的JobID。这将导致显示上面的日志。