[ 
https://issues.apache.org/jira/browse/FLINK-11619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815938#comment-16815938
 ] 

yuqi commented on FLINK-11619:
------------------------------

[~tianchen92] Right, in some scenario, Resource are very precious and rare, we 
can't allocate all slot for the streaming job at beginning, So the schedule 
mode ScheduleMode.LAZY_FROM_SOURCES is in great need. 

Embarrassing, I am working on this problem and recently is busy with other 
things

> Make ScheduleMode configurable via user code or configuration file 
> -------------------------------------------------------------------
>
>                 Key: FLINK-11619
>                 URL: https://issues.apache.org/jira/browse/FLINK-11619
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / DataStream
>            Reporter: yuqi
>            Assignee: yuqi
>            Priority: Major
>
> Currently, Schedule mode for stream job is always 
> see StreamingJobGraphGenerator#createJobGraph
> {code:java}
> // make sure that all vertices start immediately
>               jobGraph.setScheduleMode(ScheduleMode.EAGER);
> {code}
> on this point, we can make ScheduleMode configurable to user so as to adapt 
> different environment. Users can set this option via env.setScheduleMode() in 
> code, or make it optional in configuration. 
> Anyone's help and suggestions is welcomed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to