Hello, I want to submit a flink job to YARN/Cluster from java code.If this is feasible? Is there anyone tried to do it before ? Thanks
|
Hi, it is possible to submit a job to a running cluster (Standalone/Mesos/Yarn) by using the The Cheers, On Fri, Jul 28, 2017 at 9:50 AM, 程骥 <[hidden email]> wrote:
|
In reply to this post by 程骥
Hi: I think you can use Flink restful API, like "POST: /jars/MyProgram.jar/run?savepointPath=/my-savepoints/savepoint-1bae02a80464&allowNonRestoredState=true" The detail information of restful API , you can see the link https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/rest_api.html .
|
In reply to this post by Till Rohrmann
Hi,Till Actually,to submit a flink job to flink clusetr with ExecutionEnvironment.createRemoteEnvironment,I have implemented. but how to submit flink job to flink on yarn,I have no idea. I think this API not supported. Thanks for your help. :) ------------------ 原始邮件 ------------------ 发件人: "Till Rohrmann";<[hidden email]>; 发送时间: 2017年7月28日(星期五) 下午5:13 收件人: "程骥"<[hidden email]>; 抄送: "user"<[hidden email]>; 主题: Re: How can I submit a flink job to YARN/Cluster from java code? Hi, it is possible to submit a job to a running cluster (Standalone/Mesos/Yarn) by using the The Cheers, On Fri, Jul 28, 2017 at 9:50 AM, 程骥 <[hidden email]> wrote:
|
In reply to this post by zrc@zjdex.com
Hi, Thanks for yor help. This is a good idea. Maybe I didn't understand the information of restful API. I think the restful API can not submit a job to yarn. Is that right? ------------------ 原始邮件 ------------------ 发件人: "[hidden email]";<[hidden email]>; 发送时间: 2017年7月28日(星期五) 下午5:15 主题: re: How can I submit a flink job to YARN/Cluster from java code? Hi: I think you can use Flink restful API, like "POST: /jars/MyProgram.jar/run?savepointPath=/my-savepoints/savepoint-1bae02a80464&allowNonRestoredState=true" The detail information of restful API , you can see the link https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/rest_api.html .
|
The Cheers, On Fri, Jul 28, 2017 at 12:14 PM, 程骥 <[hidden email]> wrote:
|
In reply to this post by 程骥
You can see the detail information at https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/rest_api.html. In this link, it is not said the restful API can not used in yarn cluster. I think it is ok, and you can try. :)
|
ok,thank you. ------------------ 原始邮件 ------------------ 发件人: "[hidden email]";<[hidden email]>; 发送时间: 2017年7月31日(星期一) 上午9:31 主题: re: How can I submit a flink job to YARN/Cluster from java code? You can see the detail information at https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/rest_api.html. In this link, it is not said the restful API can not used in yarn cluster. I think it is ok, and you can try. :)
|
Free forum by Nabble | Edit this page |