You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2014/07/11 12:11:04 UTC

[jira] [Commented] (FLINK-989) Improve not enough slots SchedulingException message

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

Chesnay Schepler commented on FLINK-989:
----------------------------------------

would this be sufficient?

{code:java}
throw new SchedulingException("Not enough slots to schedule job " + executionGraph.getJobID()
+ " Req.: " + requiredSlots + " Avail.: " + availableSlots + ". Either reduce the DOP of your program, "
+ "wait for other programs to finish or configure the number of slots in conf/flink-conf.yaml .");
{code}

> Improve not enough slots SchedulingException message
> ----------------------------------------------------
>
>                 Key: FLINK-989
>                 URL: https://issues.apache.org/jira/browse/FLINK-989
>             Project: Flink
>          Issue Type: Bug
>          Components: JobManager
>            Reporter: Ufuk Celebi
>            Priority: Critical
>
> I think it would be good to have a more detailed message for the following SchedulingException (available slots, required slots etc.):
> {code:java}
> eu.stratosphere.client.program.ProgramInvocationException: The program execution failed: eu.stratosphere.nephele.jobmanager.scheduler.SchedulingException: Not enough slots to schedule job 04d754249c6c580000cd461d195ca000
>         at eu.stratosphere.nephele.jobmanager.scheduler.DefaultScheduler.scheduleJob(DefaultScheduler.java:150)
>         at eu.stratosphere.nephele.jobmanager.JobManager.submitJob(JobManager.java:504)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at eu.stratosphere.nephele.ipc.RPC$Server.call(RPC.java:417)
>         at eu.stratosphere.nephele.ipc.Server$Handler.run(Server.java:951)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)