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

Stephan Ewen commented on FLINK-10864:
--------------------------------------

Is this about listing main classes in jar file?

If yes, then I agree with Chesnay here, you can submit different jobs in the 
same jar and I am not convinced listing them is the responsibility of Flink's 
REST API.

That would mean scanning the jar file and could easily make the API sluggish if 
the scanning takes time (which it will for large jar files).

> Support multiple Main classes per jar
> -------------------------------------
>
>                 Key: FLINK-10864
>                 URL: https://issues.apache.org/jira/browse/FLINK-10864
>             Project: Flink
>          Issue Type: Improvement
>          Components: Job-Submission
>    Affects Versions: 1.6.2
>            Reporter: Flavio Pompermaier
>            Priority: Major
>
> Right now all the REST API and job submission system assumes that a jar 
> contains only a single main class. In my experience this is rarely the case 
> in real scenario: a jar contains multiple jobs (with similar dependencies) 
> that performs different tasks.
> In our use case, for example, the shaded jar is around 200 MB and 10 jobs 
> within it...



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

Reply via email to