开发者社区> 问答> 正文

url http:// localhost:8081 / jars /:jarid / run的错误404

我有已经在flink集群中上传的jar文件。我正在使用flink 1.6.0

这是我上传jar文件后的结果

address "http://localhost:8081"
files
0

id        "1d6dc437-bd5f-4147-a37e-b1d40d425a99_NicoWordCount.jar"
name      "NicoWordCount.jar"
uploaded  1537174925000
entry   
  0 
    name         "WordCount"
    description  null

当我运行以下网址时

“ http:// localhost:8081 / jars / 1d6dc437-bd5f-4147-a37e-b1d40d425a99_NicoWordCount.jar / run ”它返回:失败:404未找到

当我运行

“ http:// localhost:8081 / jars / 1d6dc437-bd5f-4147-a37e-b1d40d425a99_NicoWordCount.jar / plan ”

它返回一个结果。

当我在flink仪表板中运行NicoWordCount.jar时,它也运行良好并给出了预期的结果。

哪里出了问题?

展开
收起
flink小助手 2018-12-10 11:39:53 2730 0
1 条回答
写回答
取消 提交回答
  • flink小助手会定期更新直播回顾等资料和文章干货,还整合了大家在钉群提出的有关flink的问题及回答。

    您使用哪种HTTP方法?应该执行运行POST。

    2019-07-17 23:19:09
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
阿里巴巴HTTP 2.0实践及无线通信协议的演进之路 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载