flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Ewen <se...@apache.org>
Subject Re: integration with a scheduler
Date Wed, 20 Jan 2016 20:53:11 GMT
If you want to programmatically start / stop / cancel jobs, have a look at
the class

"Client" (
https://github.com/apache/flink/blob/master/flink-clients/src/main/java/org/apache/flink/client/program/Client.java
)

>From the classes RemoteEnvironment or the RemoteExecutor, you can see how
to use it to send jobs and commands to a Flink cluster.




On Wed, Jan 20, 2016 at 3:03 PM, Robert Metzger <rmetzger@apache.org> wrote:

> Hi Serkan,
>
> I would suggest to have a look at the "./bin/flink" tool. It allows you to
> start ("run") and stop ("cancel") batch and streaming jobs.
> Flink doesn't support suspending jobs.
>
> You can also use the JobManager web interface (default port: 8081) to get
> the status of the job and also to cancel it.
>
> If you need programmatic access to the job status, have a look at the
> CliFrontend class. Its the class called by the "./bin/flink" tool. There,
> you can see how jobs are submitted and cancelled.
>
> Regards,
> Robert
>
>
> 2016-01-19 12:10 GMT+01:00 <serkan.tas@likyateknoloji.com>:
>
>> Hi,
>>
>> I am planning to integrate flink with our job scheduler product to execute
>> jobs - especially bathc like - on flink which may be the part of some
>> other DAG style job chain.
>>
>> I need some control ablities like start, stop, suspend, get status...
>>
>> Where shold i go through ?
>>
>> --
>> Serkan Tas
>> Likya Bilgi Teknolojileri
>> ve Iletişim Hiz. Ltd.
>> www.likyateknoloji.com
>> Tel : 0 216 471 81 55
>> Gsm : 0 542 242 00 92
>> Faks:  0 216 661 14 92
>>
>> --------------------------------------
>> Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir. Sadece
>> yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını
>> taşımaktadır. Size yanlışlıkla ulaşmışsa bu elektonik postanın içeriğini
>> açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız kesinlikle
>> yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden siliniz. Likya
>> Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. bu mesajın içeriği ile
>> ilgili olarak hiç bir hukuksal sorumluluğu kabul etmez.
>>
>> This electonic mail and any files transmitted with it are intended for the
>> private use of  the persons named above. If you received this message in
>> error, forwarding, copying or use of any of the information is strictly
>> prohibited. Please immediately notify the sender and delete it from your
>> system. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. does not
>> accept legal responsibility for the contents of this message.
>> --------------------------------------
>>
>> &#61520;
>> Bu e-postayı yazdırmadan önce, çevreye olan sorumluluğunuzu tekrar
>> düşünün.
>> Please consider your environmental responsibility before printing this
>> e-mail.
>>
>>
>>
>>
>

Mime
View raw message