A public way to get JSON plan of a JobGraph is, with an existing Flink
Cluster, use REST API JarPlan[1].
Best,
tison.
[1]
https://ci.apache.org/projects/flink/flink-docs-master/monitoring/rest_api.html#jars-jarid-plan
tison 于2020年1月8日周三 上午11:08写道:
> Hi Zhang,
>
> I just notice that it is sent
Hi Zhang,
I just notice that it is sent to user list. Please send to user-zh list(in
cc) next time if you want to discuss in Chinese.
Best,
tison.
tison 于2020年1月8日周三 上午11:06写道:
> 如果你是流作业的话,参考这个页面[1]搞到 JobGraph 之后可以
>
> JsonPlanGenerator.generatePlan(jobGraph)
>
> 拿到 JobGraph 的 JSON。不过这个是非常内部的
如果你是流作业的话,参考这个页面[1]搞到 JobGraph 之后可以
JsonPlanGenerator.generatePlan(jobGraph)
拿到 JobGraph 的 JSON。不过这个是非常内部的逻辑,没有任何兼容性保障。
Best,
tison.
[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/deployment/mesos.html#flink-job-cluster-on-mesos
张江 于2020年1月8日周三 上午11:01写道:
> 大家好,
>
> 通过调